Dev Design Library

Toggle

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

Toggle preview
Library
shadcn/ui
Framework
React
Type
ui
License
MIT
Dependencies
@radix-ui/react-toggle
Install
npx shadcn@latest add toggle
Files
  • apps/v4/registry/new-york-v4/ui/toggle.tsx
Source
https://github.com/shadcn-ui/ui

Categories

More from shadcn/ui