Switch
@arolariu/components / Switch
Switch
Toggles between on and off states with a styled thumb control.
Remarks
- Renders a
<button>element by default - Built on Base UI Switch
- Supports the
renderprop for element composition - Styling via CSS Modules with
--ac-*custom properties
Example
<Switch defaultChecked />
See
Type Aliases
// was this page useful?