Dev Design Library

Toggle

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

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

Categories

More from coss ui