ember switch
AI UI component · a prompt for Claude, Codex and Cursor
Get the prompt, project and Figma file with monthly ($29 a month) or yearly ($249 a year). Plus tax where it applies.
A motion study of a theme switch, on a 12-second loop. Cindrel, an invented ceramics studio, watches tonight's glaze firing on a dark glass dashboard: kiln temperature with the night's firing curve and a live marker, three thermocouple zones, the ramp, hold and cool plan, the four pieces in the kiln with their glazes, and the energy used. In the centre card sits a rocker switch ray-marched in WebGL: a graphite bezel and a smoked ruby-glass paddle. A cursor clicks it, the paddle snaps over and heats like a filament, black to deep red to a molten orange core, and the interface turns from Slate (cool blue and lime) to Ember (orange and amber) in a wave that travels outward from the switch, one card at a time, while the colour fields behind the glass warm and the big theme name rolls from Slate to Ember. The camera pulls back from the switch to the whole dashboard, the side menu opens into a labelled glass menu, the list highlight moves down, then the camera pushes in for a second click that cools it all back to Slate. Click anywhere to take control: the rocker toggles, the menu opens on hover, tabs and rows react; Space or R returns to the loop. HTML, CSS, SVG and one WebGL canvas with React, Host Grotesk and Geist Mono, a 1920 × 1080 stage that scales to fit, frame-exact rendering (window.__render(t), window.__LOOP, window.__MANUAL), and the team's 12-s soundtrack as a bonus file.
what you get
- prompt
- Paste it into Claude, Codex, Kimi or Cursor to rebuild this template. Tested: we rebuild every template from its prompt before it goes live.
- project
- The Vite + React source code as a .zip, ready to run.
- figma file
- The editable design as a .fig file to import into Figma.
what's inside
- theme switch
- 3d rocker
- webgl ray marching
- filament glow
- theme wave
- glass cards
- dashboard
- camera moves
- click to control
- autoplay loop
- frame-exact recorder
- bonus soundtrack
stack
- react
- vite
- typescript
- webgl
fonts
Host Grotesk, Geist Mono
Free fonts, linked in the prompt.
colors
- #07080B
- #14161C
- #7390FF
- #C6EF6A
- #0A0807
- #1A1412
- #FF6A1F
- #FFB43C
license
With monthly or yearly: personal and commercial work, client projects included. Don't resell or share the template, prompt or files.
read the license

