Skip to Content
Skip to content

Switch

Neumorphic switch on the Radix primitive. A shallow track that fills with the accent when checked, and a raised knob that travels. Three sizes.

Installation

bunx --bun shadcn@latest add https://neu.beyondtheinnovation.com/r/neu-switch.json

Usage

import { Switch } from "@/components/ui/neu/switch"
<Switch />

Size

size is sm, default or lg. lg is neu-only.

<Switch size="sm" />

On this page