Skip to Content

Switch

Switch example: an on/off toggle with a pill track and sliding thumb, in default and small sizes. Shows focus rings and invalid styling, and inverts its thumb colors in dark mode.

pnpm dlx shadcn add @01orbital/switch

Examples

New

switch-cloud-dancer

switch-cloud-dancer

Cloud Dancer

Switch example: the Cloud Dancer switch with a pale pill track, teal-shaded and warming to rose when on, with a dark orb thumb, styled through the switch's slots.

pnpm dlx shadcn add @01orbital/switch-cloud-dancer

New

switch-appointment-reminder

switch-appointment-reminder

Appointment Reminder

Switch example: a Cloud Dancer switch on a pale green appointment card that chooses a text reminder and reports the current choice.

pnpm dlx shadcn add @01orbital/switch-appointment-reminder

New

switch-shipping-hold

switch-shipping-hold

Shipping Hold

Switch example: a small Cloud Dancer switch on a grained paper checkout card that opts in to a cold-weather shipping hold.

pnpm dlx shadcn add @01orbital/switch-shipping-hold

New

switch-bedtime-hide-tasks

switch-bedtime-hide-tasks

Bedtime Hide Tasks

Switch example: a switch on a bedtime screen that swaps tomorrow's task list for a quiet note. Shows a toggle that hides content.

pnpm dlx shadcn add @01orbital/switch-bedtime-hide-tasks

New

switch-hide-balances

switch-hide-balances

Hide Balances

Switch example: a switch that masks account balances while sharing a screen. Shows a privacy toggle for finance dashboards.

pnpm dlx shadcn add @01orbital/switch-hide-balances

Dependencies

npm: @base-ui/react, cn. The CLI installs them for you.

No other registry pieces.