ComponentReactregistry:ui
Toggle
toggle
Two-state toggle button on radix-ui with 2 variants (default, outline), 3 sizes and 2 tones (neutral, brand). Pressed state uses the accent token (neutral) or brand-soft (brand).
This item declares no source files.
Notes from the author
Use for on/off formatting controls (bold, italic). For groups use toggle-group.
1 example
See it in use
Used by 2 items
Built on Toggle
Other @ai2 items that list this one as a dependency.
@ai2
