Toggle
Use for single pressed-state controls and toolbar toggles
Toggle is for a single pressed-state action.
Import
import { Toggle } from "@downcity/ui";Basic Example
Loading preview…
Variants
defaultoutline
Sizes
defaultsmlg
Usage Notes
- Use
Togglefor a single on/off pressed state - Use
ToggleGroupfor grouped options - It works especially well in icon-based toolbars
Related Exports
ToggletoggleVariants