Appearance settings

The visitor's own theme and light or dark choice, kept in their browser.

Example

tsx
<AppearanceSettings />

Usage

Pages are built on the server: import the tags from @dash/server and return the tree. The browser runtime draws it.
tsx
import { AppearanceSettings } from "@dash/server";

Props

AppearanceSettingsProps

Prop
Type
Description
labels{ trigger?: string; theme?: string; appearance?: string; system?: string; light?: string; dark?: string; }
On this page