Dev Design Library

Toggle

Provides a two-state button that users can press to turn a specific feature, view, or styling option on and off.

Toggle preview
Library
SpaceUI
Framework
React
Type
component
License
MIT
Files
  • src/registry/primitives/toggle/index.tsx
  • src/registry/lib/utils/index.ts
Source
https://github.com/usespaceui/ui

Categories

More from SpaceUI