A two-state button built on Radix Toggle with default and outline variants, three sizes, controlled or uncontrolled pressed state, and a disabled state.
Run the command below in a project with the shadcn CLI. It copies the component source into your repo and installs its dependencies.
npx shadcn@latest add https://www.saasuji.com/r/toggle.jsonAlso available as a markdown reference for AI agents: /components/toggle.md
Switch
A controlled toggle built on Radix Switch with keyboard support, checked/unchecked styling, and a disabled state.
Checkbox
A Radix checkbox with checked, unchecked, and indeterminate states, a check indicator, and a disabled state.
Toggle Group
A set of related toggles built on Radix Toggle Group, supporting single or multiple selection, keyboard roving focus, shared variant and size, and configurable item spacing.