Switch
ComponentA control that allows the user to toggle between checked and not checked with optional glass material.
Installation
Install this component using the shadcn CLI with your preferred package manager
bunx shadcn@latest add @sistine/switchUsage
Example code for using this component
Props
Component props and variants
This component supports the following variants:
- default - Standard styling
- glass - Glassmorphism effect (default)