TallStackUI 4.0 is here! Seven new components and thousand of improvements. See what's new .

Powerful suite of Blade components for TALL Stack apps

Theme Switch

Theme switch component.

You should only use this component if are using the dark theme helper.
<x-theme-switch />
<x-theme-switch block />
This attribute is designed to allow you to use the component within the header slot of the dropdown component.
<x-theme-switch xs />
<x-theme-switch sm />
<x-theme-switch md />
<x-theme-switch lg />
<x-theme-switch xl />

An option to allow you restore the previous unique visual of the component.

<x-theme-switch simple />

An option to only display icons, without the toggle.

<x-theme-switch simple only-icons />

Code highlighting provided by Torchlight