This project is archived.
shadcn/ui now officially supports React Aria Components. Use shadcn/ui instead
There is no native HTML element with switch styling. <input type="checkbox"> is the closest semantically, but isn't styled or exposed to assistive technology as a switch. Switch helps achieve accessible switches that can be styled as needed.
npx shadcn@latest add https://jollyui.dev/default/switch