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 { CellLink } from "@/rl-ui";
<CellLink href="#project">Acme rollout</CellLink>Examples#
href and to#
Either prop works on the default <a>; to is preferred when passing a router Link via as.
import { CellLink, Flex } from "@/rl-ui";
<Flex direction="column" gap="2" className="w-full">
<CellLink href="#acme">Via href</CellLink>
<CellLink to="#northstar">Via to</CellLink>
</Flex>Inside CellLayout#
import { CellLink, CellLayout, Badge } from "@/rl-ui";
<CellLayout gap="2" justify="between" className="w-full">
<CellLink href="#acme">Acme rollout</CellLink>
<Badge color="blue">Active</Badge>
</CellLayout>Stacked links#
import { CellLink, Space } from "@/rl-ui";
<Space direction="vertical" size="small">
<CellLink href="#1">Acme rollout</CellLink>
<CellLink href="#2">Northstar</CellLink>
<CellLink href="#3">Orbit migration</CellLink>
</Space>API#
| Prop | Type | Default | Description |
|---|---|---|---|
as | ElementType | "a" | Rendered element / component (e.g. router Link). |
href | string | — | Anchor href when as="a". |
to | string | — | Preferred nav target; mapped to href for <a> or to for routers. |
className | string | — | Additional classes. |
children | ReactNode | — | Link label / content. |