Theme Switch
Theme switch component.
Themeswitch, Customization Blocks
Example:
// AppServiceProvider, "boot" method. TallStackUi::customize() ->themeSwitch() ->block('block', 'classes');
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 />