Vibe UI
Initializing Vibe UI System...

Switch

A control that allows the user to toggle between checked and unchecked states.

Switch

A control that allows the user to toggle between checked and unchecked states.

Preview

Airplane Mode

Installation

pnpm dlx vibe-ui-kit@latest add switch label
💡 Vibe UI Component Dependencies: This component requires other components to work correctlyPlease make sure you also install these Vibe UI component dependencies: label

Preset Variations

Explore the visual design presets of the Switch, including Default, Glassmorphic, Retro Neobrutalist, Neon Glow, and Cyberpunk terminal toggle variants.

Default
Glass
Retro
Glow
Cyberpunk

Advanced Features

Combine Switch presets inside form card lists, notification settings panels, and configure disabled states.

Notification Preferences

Choose what updates you want to receive.

Security Alerts

Get notified about suspicious logins.

Weekly Digest

Receive weekly stats and highlights.

Disabled Off
Disabled On

Props

Switch

PropTypeDefaultDescription
variant'default' | 'glass' | 'retro' | 'glow' | 'cyberpunk''default'The visual design style variant preset of the switch container track and thumb slider.

Contributors

Theme Customizer

8px
@theme { --radius: 0.5rem; --glass-blur: 8px; }
Changes apply instantly to this documentation workspace.