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 { Stepper, Step, StepLabel } from "@/rl-ui";
<Stepper activeStep={1}>
<Step><StepLabel>Basics</StepLabel></Step>
<Step><StepLabel>Team</StepLabel></Step>
<Step><StepLabel>Review</StepLabel></Step>
</Stepper>Examples#
Vertical#
import { Stepper, Step, StepLabel } from "@/rl-ui";
<Stepper activeStep={0} orientation="vertical">
<Step><StepLabel>Basics</StepLabel></Step>
<Step><StepLabel>Team</StepLabel></Step>
<Step><StepLabel>Review</StepLabel></Step>
</Stepper>Alternative label#
import { Stepper, Step, StepLabel } from "@/rl-ui";
<Stepper activeStep={2} alternativeLabel>
<Step><StepLabel>Basics</StepLabel></Step>
<Step><StepLabel>Team</StepLabel></Step>
<Step><StepLabel>Review</StepLabel></Step>
</Stepper>API#
| Prop | Type | Default | Description |
|---|---|---|---|
activeStep | number | 0 | Zero-based active step index. |
orientation | "horizontal" | "vertical" | "horizontal" | Layout orientation. |
alternativeLabel | boolean | false | Place labels under icons (horizontal). |