Progress
Progress is a component component that provides progress functionality.
Active
Examples
size
Different size options for the Progress component.
sm
md
lg
Installation
npm install @your-design-system/progressimport { Progress } from "@/components/ui/progress"
export function ProgressDemo() {
return (
<Progress size="md">
{/* Content */}
</Progress>
)
}API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | - | The value prop for the component. |
max | number | 100 | The max prop for the component. |
Styling
The component uses Tailwind CSS classes for styling. You can customize the appearance by overriding these classes.
Base Classes
relativew-fulloverflow-hiddenrounded-fullbg-secondarysize Variants
sm
h-1md
h-2lg
h-3Design System Compliance
This component is validated against atomic design principles and foundation token usage.
✓ Atomic Design Compliant
This component follows atomic design principles and properly uses foundation tokens.
On This Page