Feedback
Progress
How far along one task is.
import { Progress } from 'faifo-design'Progress is a four-pixel track that communicates how far a task has come without becoming another
panel.
#When to use
- Use it for a measured amount: uploaded, received, completed.
- For stages of a record use
StagePath; for an unknown wait useSpinnerorSkeleton.
#Examples
Each example is a specimen of the package catalogue, rendered on the server exactly as shown in its code.
#Progress
A four-pixel track communicates state without becoming another panel.
Project completion68%
Approved92%
At risk54%
Overdue31%
Show codeHide code
#API
Generated from the package source. A property without a description has none in the source yet.
#ProgressComponent
| Property | Description | Type | Default |
|---|---|---|---|
valuerequired | – | number | – |
labelrequired | – | string | – |
tone | – | ProgressTone | 'primary' |
showValue | – | boolean | true |
size | – | 'small' | 'default' | 'large' | 'default' |
#Types
#ProgressTone
type ProgressTone = 'primary' | 'positive' | 'warning' | 'danger'#Hooks
The data-ui values these components render. Select them in tests and behaviour; their look belongs to the design system. See Contract.
progressprogress-labelprogress-valueprogress-trackprogress-bar