WARNING! You are browsing the docs for an old version of TallStackUI. See the v4 docs.

Powerful suite of Blade components for TALL Stack apps.

Theme Switch

Theme switch component.

WARNING!

You are browsing the docs for an old version of TallStackUI. Consider upgrade your project to TallStackUI v4.

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