Theme switch
Switch between light, dark and system themes.
Installation
Usage
The docs and home layouts show a theme switch. Configure it with the layout's themeSwitch option, or use it on its own inside RootProvider:
mode="light-dark" (the default) is a button that toggles between light and dark. mode="light-dark-system" is a shadcn/ui toggle-group with a system option.