Mode Toggle
Component
A theme switcher component with optional glassy variant.
Installation
Install this component using the shadcn CLI with your preferred package manager
pnpm dlx shadcn@latest add @glass-ui/mode-toggleUsage
Example code for using this component
Props
Component props and variants
This component supports the following variants:
- default - Standard styling
- glass - Glassmorphism effect (default)