Collection of free Tailwind CSS toggle switch components from Codepen and other resources.

Author

  • Huda Damar

Made with

  • HTML / CSS / JS

About a code

Switch to Darkmode

Cool switch button for switch to darkmode.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.2.4

Author

  • vishnumohanrk

Made with

  • HTML / CSS

About a code

Toggle Component

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.3

Demo image: Switch Toggle

Author

  • kurja

Made with

  • HTML / CSS

About a code

Switch Toggle

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.3

Author

  • TailGrids

Made with

  • HTML / CSS

About a code

Toggle Button Style #1

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Author

  • TailGrids

Made with

  • HTML / CSS

About a code

Toggle Button Style #2

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Author

  • TailGrids

Made with

  • HTML / CSS

About a code

Toggle Button Style #3

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Author

  • TailGrids

Made with

  • HTML / CSS

About a code

Toggle Button Style #4

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Author

  • TailGrids

Made with

  • HTML / CSS

About a code

Toggle Button Style #5

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Author

  • TailGrids

Made with

  • HTML / CSS

About a code

Toggle Button Style #6

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Author

  • TailGrids

Made with

  • HTML / CSS

About a code

Toggle Button Style #7

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Author

  • TailGrids

Made with

  • HTML / CSS

About a code

Toggle Button Style #8

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Author

  • TailGrids

Made with

  • HTML / CSS

About a code

Toggle Button Style #9

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Demo image: Toggle Switch #10

Author

  • Mamba UI

Made with

  • HTML / CSS

About a code

Toggle Switch #10

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Demo image: Toggle Switch #11

Author

  • Mamba UI

Made with

  • HTML / CSS

About a code

Toggle Switch #11

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Demo image: Toggle Switch #12

Author

  • Mamba UI

Made with

  • HTML / CSS

About a code

Toggle Switch #12

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Demo image: Toggle Switch #13

Author

  • Mamba UI

Made with

  • HTML / CSS

About a code

Toggle Switch #13

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 2.0.0+

Author

  • emotionl

Made with

  • HTML / CSS

About a code

Toggle

A custom toggle.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 1.9.6

Author

  • Rob Stinson

Made with

  • HTML / CSS

About a code

Lo-fi Tailwind CSS Toggles

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 1.8.10

Author

  • Hernanarica

Made with

  • HTML / CSS / JS

About a code

Switch Button

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Tailwind version: 1.4.6

Author

  • r-freeman

Made with

  • HTML / CSS / JS

About a code

Toggle

iOS-like toggle button.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: alpine.js

Tailwind version: 1.2.0