Progress
Displays an indicator showing the completion progress of a task.
Examples
13%
13%
import { Progress } from 'kalki-design'
<Progress>Click me</Progress>Installation
npx kalki-design add progressUsage
import { Progress } from 'kalki-design'
export default function Example() {
return <Progress />
}API Reference
| Name | Type | Default | Description |
|---|---|---|---|
Namevalue | Typenumber | Default— | DescriptionThe progress value. |
Namemax | Typenumber | Default100 | DescriptionThe maximum progress value. |
Namevariant | Type'default' | 'success' | 'warning' | 'error' | Default'default' | DescriptionVisual style of the progress bar. |
Namesize | Type'sm' | 'md' | 'lg' | Default'md' | DescriptionHeight of the linear progress track. |
Nameindeterminate | Typeboolean | Defaultfalse | DescriptionWhether the progress is indeterminate. |
NameshowLabel | Typeboolean | Defaultfalse | DescriptionWhether to display the percentage label. |
Namestriped | Typeboolean | Defaultfalse | DescriptionAdds zebra stripes to the linear progress bar. |