DocsInstallationComponents
Sections
  • Components
Components
  • Alert banner
  • Alert dialog
  • Alert
  • Avatar
  • Badge
  • Breadcrumb
  • Button
  • Calendar icon
  • Cell layout
  • Cell link
  • Checkbox
  • Collapse
  • Control label
  • Date picker
  • Dialog
  • Divider
  • Drawer
  • Empty cell
  • Empty state
  • Empty
  • Error overlay
  • Filter bar
  • Filter chips
  • Flex
  • Grid layout
  • Humanised date
  • Icon
  • Duration input
  • Input field
  • Input
  • Label
  • Loader
  • More actions
  • Number input
  • Outside click
  • Page loader
  • Page
  • Popconfirm
  • Popover
  • Progress pie
  • Progress
  • Radio button group
  • Radio Group
  • Radio
  • Relative time
  • Resizable
  • Search input
  • Select
  • Skeleton text
  • Skeleton
  • Space
  • Squad avatar list
  • Status picker
  • Stepper
  • Switch
  • Content switcher
  • Table light
  • Tabs
  • Tag
  • Text
  • Textarea
  • Toast
  • Tooltip
  • Trigger select
  • Upload

Content switcher

PreviousNext

Heading tabs. Child rl-switcher-item tags are the choices.

<rl-switcher value="list">
<rl-switcher-item value="list">List</rl-switcher-item>
<rl-switcher-item value="board">Board</rl-switcher-item>
</rl-switcher>

API#

PropTypeDefaultDescription
valuestring—Selected value.
size24 | 32 | 4032Height.
SwitchTable light

On This Page

API
Built by shadcn at Vercel. The source code is available on GitHub.