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 { Skeleton } from "@/rl-ui";
<Skeleton className="h-8 w-40" />Examples#
Shapes#
import { Skeleton } from "@/rl-ui";
<>
<Skeleton className="h-8 w-40" />
<Skeleton className="h-10 w-10 rounded-full" />
<Skeleton className="h-24 w-full" />
</>API#
| Prop | Type | Default | Description |
|---|---|---|---|
active | boolean | true | Animate the shimmer. |
className | string | — | Size / shape utilities. |