Dev Design Library

Toggle

A two-state button that can be toggled on or off.

Toggle preview
Library
Origin UI
Framework
React
Type
ui
License
MIT
Dependencies
radix-ui
Install
npx shadcn@latest add @coss/toggle
Files
  • apps/origin/registry/default/ui/toggle.tsx
  • apps/origin/registry/default/lib/utils.ts
Source
https://github.com/cosscom/ui

Categories

More from Origin UI