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 { SkeletonText } from "@/rl-ui";
<SkeletonText lines={4} />Examples#
Custom widths#
import { SkeletonText } from "@/rl-ui";
<SkeletonText lines={3} widths={["100%", "80%", "60%"]} />Static (no pulse)#
import { SkeletonText } from "@/rl-ui";
<SkeletonText lines={2} active={false} />API#
| Prop | Type | Default | Description |
|---|---|---|---|
lines | number | 3 | Number of placeholder lines. |
widths | (string | number)[] | — | Per-line width overrides. |
active | boolean | true | Animate the shimmer. |