Wash

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-wash

About this component

A name field on cold-pressed paper with a faint wash of teal and coral behind the words and a brushed line beneath. A cursor blinks at the start, and focus lets the wash bloom outward as if the paper had been wetted.

Triggers

  • Focus
  • Ambient
  • Draw
  • Gradient

Techniques

  • Filter
  • Keyframes
  • mix-blend-mode
  • stroke-dashoffset

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input inside a <label>, named by aria-label ("Your name"); paper, wash and brush line are aria-hidden.

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
Y2KGet code
CleaveGet code
ComboGet code
CellsGet code