File: toggles.md | Updated: 11/15/2025
5-day Mini-Course
Short, tactical video lessons from the creator of Tailwind CSS, delivered directly to your inbox every day for a week.
Use these Tailwind CSS toggle components to add on/off switches for settings like dark mode, notifications, and feature flags. These components are designed and built by the Tailwind CSS team, and include a variety of different styles and layouts.
Preview
Preview
Preview
Preview
Preview
Preview
With left label and description
Preview
With left label and description
Preview
Preview
Preview