Vitro

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-vitro

About this component

An email field of frosted glass with three coloured lights drifting behind it. A cursor blinks where the address starts, and on focus the lights brighten and a bright rim closes round the glass.

Triggers

  • Focus
  • Ambient
  • Glow
  • Gradient

Techniques

  • Keyframes
  • Filter
  • CSS transition
  • Pseudo elements

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native email input inside a <label>, named by aria-label ("Email"); the icon, lights and drawn cursor are aria-hidden. Focus is shown by the bright rim.

Reduced motion

Every transition and animation is switched off.

Use it in anything you build, commercial and client work included. Licence

More inputs

See all
WashGet code
Y2KGet code
CleaveGet code
ComboGet code