Stained glass

5 of 10 panes

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-stained-glass

About 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 all

5 tiles · 10 points

Letter tilesGet code

Scans as a valid code

BarcodeGet code

2026 is cut as MMXXVI

CornerstoneGet code

3 AcrossCircle round a planet (5)

2 of 5 letters

CrosswordGet code