Progress
Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
Usage
Code EditorCopyimport { Progress } from '@erudilabs/alma'
Types
Code EditorCopyimport { ProgressThemeProps } from '@erudilabs/alma'
ProgressThemeProps = 'default' | 'primary' | 'danger' | 'success' | 'warning'
Component
Here preview and detail explain of Progress
component
Default
Code EditorCopy<Progress percentage={50} />
Theme
These themes allow you to apply different visual styles to the progress
, Whether it's indicating different statuses, categories, or providing visual cues, the ability to customize progress themes adds flexibility and enhances the visual appeal of your UI components.
Primary
Code EditorCopy<Progress percentage={20} theme="primary" />
Danger
Code EditorCopy<Progress percentage={30} theme="danger" />
Warning
Code EditorCopy<Progress percentage={50} theme="warning" />
Success
Code EditorCopy<Progress percentage={80} theme="success" />
Props Reference
Prop
Type
Default
testId?
string
-
className?
string
-
theme?
ProgressThemeProps
-
percentage?
number
-