Theme Controller

Clicky clicky
Class Reference
Theme controller changes the theme using CSS only. You can then use JS to save the input state in the server or localStorage if you want it to persist on page refresh.

Basic

Basic Toggle

Simple toggle switch for theme control

Checkbox Input

Standard checkbox implementation

Swap Animation

Theme toggle using swap transition

Text Icons

Toggle with Text

Labeled toggle with inline text

Icon Toggle

Theme switch with adjacent icons

Icon Toggle Inside

Styling

Custom Colors

Input Types

Radio Group

Button Group

Dropdown Group

Class Reference

Class Type Description
theme-controller Component Base controller class for theme inputs
Do you have a question? ask the community
Do you see a bug? open an issue on GitHub