system
400.wtf

Components / Navigation

ThemeSwitch

Lighting switch: one button showing day, night or system with its icon and label; a press moves to the next. Wired by initThemeSwitches() from @400/ds/theme, without hydration.

layer
Navigation
phase
Theme
status
Shipped
runtime
Static

Usage

import ThemeSwitch from "@400/ds/components/ThemeSwitch";

Source: packages/ds/src/components/ThemeSwitch/ · Seen in context

Examples

Live wired by initThemeSwitches(); hidden without JavaScript