GroveMotion
Theme Customizer
Lets a visitor pick light or dark, a brand color and a font preset, and saves the choice.
About the Grove Theme Customizer
A small panel that lets a visitor change the look and remembers it: the theme (light or dark, through useTheme), the brand colour (the first brand is the kit default; any other sets data-brand on <html> and is saved in localStorage under "brand") and the font preset (through useFont with the kit's fontPresets; a preset's stylesheet loads when it is first picked). Each group is a fieldset of buttons with aria-pressed; the chosen one carries a ring and a check. Nothing is marked in the server HTML: the saved values are read after hydration, and a saved brand is applied then. card={false} renders the bare groups for a Drawer or a settings card. Client component.
It is part of Grove: white cards on sage, pastel chips, pine green. The style’s 135 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.
To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.