Sections
Components
- AlertBanner
- AlertDialog
- Alert
- Avatar
- Badge
- Breadcrumb
- Button
- CalendarIcon
- CellLayout
- CellLink
- Checkbox
- Collapse
- ContentSwitcher
- ControlLabel
- DatePicker
- Dialog
- Divider
- Drawer
- EmptyCell
- EmptyState
- Empty
- ErrorOverlay
- FilterBar
- FilterChips
- Flex
- GridLayout
- HumanisedDate
- Icon
- InputDuration
- InputField
- Input
- Label
- Loader
- MoreActions
- NumberInput
- OutsideClickHandler
- PageLoader
- Page
- Popconfirm
- Popover
- ProgressPie
- Progress
- RadioButtonGroup
- RadioGroup
- Radio
- RelativeTime
- Resizable
- SearchInput
- Select
- SkeletonText
- Skeleton
- Space
- SquadAvatarList
- StatusPicker
- Stepper
- Switch
- TableLight
- Tabs
- Tag
- Text
- Textarea
- Toast
- Tooltip
- TriggerSelect
- Upload
import { Progress } from "@/rl-ui";
<Progress value={42} />Examples#
Values#
import { Progress } from "@/rl-ui";
<>
<Progress value={15} />
<Progress value={50} />
<Progress value={90} />
</>Indeterminate#
import { Progress } from "@/rl-ui";
<Progress indeterminate />API#
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | 0 | Current progress. |
max | number | 100 | Maximum value. |
indeterminate | boolean | false | Animated unknown progress. |
color | string | — | Indicator color. |
backgroundColor | string | — | Track color. |
height | string | number | "h-2" | Bar height. |
width | string | number | "w-full" | Bar width. |