5 tiles · 10 points
Stained glass
5 of 10 panes
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldStainedGlass(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/input-stained-glassAbout this component
A word set in a stained-glass window: each letter is a leaded pane of its own glass tone, soldered in with a flash, with daylight drifting across the panes while you type.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Ambient
- Glow
Techniques4
- Gradient
- Keyframes
- Conic gradient
- CSS variables
Accessibility
Keyboard and screen readers
One native input named "Word in the window"; the window is aria-hidden and the pane count, or the reason for a refusal, is announced.
Reduced motion
The light holds still and panes appear without the flash.
Use it in anything you build, commercial and client work included. Licence
More inputs
See all2026 is cut as MMXXVI
3 AcrossCircle round a planet (5)
2 of 5 letters