sigilUI

Theme Switcher

Choose a visual theme from the available options.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { ThemeSwitcher } from "@sigil-ui/components";

Usage

<ThemeSwitcher value="sigil" themes={[{ value: "sigil", label: "Sigil" }, { value: "mono", label: "Mono" }]} />

CLI

npx @sigil-ui/cli add theme-switcher

Token Integration

ThemeSwitcher follows the Sigil component rules: styles resolve from var(--s-*), class names are mergeable through className, and the component is exported from @sigil-ui/components.