Color Mode Buttons

Three-way colour mode picker (light, dark, system) with thumbnail previews. Drop into a settings panel to let users pick a theme.

Default

Renders three thumbnail-buttons; current mode shows a check.

Dark previewReplay previewOpen in new tab

Usage

Import the parts you need from the component's folder.

ts
import { ColorModeButtons } from "@/components/ui/color-mode-buttons";

API Reference

ColorModeButtons

PropTypeDefaultDescription
———No props. Reads and writes the Nuxt color-mode store directly.