Bootstrap 5 Switches
Create consistent cross-browser and cross-device switches with our custom switch component, built on top of Bootstrap's form controls.
Basic Switches
DefaultA switch has the markup of a custom checkbox but uses the .form-switch class to render a toggle switch.
Switch Sizes
SizingUse custom CSS classes to create different sized switches for various use cases.
Large Switch
Default Switch
Small Switch
Colored Switches
Custom ColorsCustom colored switches using Bootstrap's color palette.
Settings Panel
ConfigurationUse switches in forms and settings panels for better user experience.
Email Notifications
Receive email updates about your accountPush Notifications
Get push notifications on your deviceSMS Notifications
Receive SMS alerts for important updatesMarketing Emails
Receive promotional content and offersPrivacy Settings
SecurityControl your privacy and security preferences.
Profile Visibility
Make your profile visible to othersTwo-Factor Authentication
Add an extra layer of securityActivity Tracking
Allow us to track your activityData Analytics
Share anonymous usage dataSwitches with Icons
EnhancedEnhanced switches with icon indicators for better visual feedback.
Dark Mode Toggle
WiFi Connection
Sound Control
Location Services
Form Integration
FormsUse switches in forms for better user experience and clear yes/no options.
Interactive Examples
JavaScriptSwitches with JavaScript event handlers and state management.
Status Indicator
Feature Toggle
✓ Advanced Analytics
✓ Priority Support
✓ Custom Themes
✓ Priority Support
✓ Custom Themes