Progress API
Learn about the Progress component's props and CSS classes.Import
import { ProgressProps } from "@prismane/core";
Props
Progress
extends Flex and Transition components' props.
Name | Type | Description | Default |
---|---|---|---|
value | number | The percentage of the progress container. | - |
label | ReactNode | The label of the progress container. | - |
size | PrismaneBreakpoints / string / number | The size of the progress container. | base |
CSS
Progress
extends Flex and Transition components' CSS classes.
Rule | Global Class | Description |
---|---|---|
root | .PrismaneProgress-root | The container of the progress component. |
root | .PrismaneProgress-root-{size} | The container of the progress component based on it's size. |