Pool

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-pool

About this component

A message field on a tiled pool inside a stone coping: the words float on the water and cast their shadow on the tiles below. Every key drops a ring that spreads across the water from the caret, over slowly moving caustics.

Triggers

  • Focus
  • Ambient
  • State change

Techniques

  • Keyframes
  • Radial gradient
  • Pseudo elements
  • Text animation

Difficulty

Advanced

Accessibility

Keyboard and screen readers

A native text input named by aria-label ("Message"); the water, rings, mirror and caret are aria-hidden. Focus draws a teal ring round the coping.

Reduced motion

The caustics, rings and bob are off and the caret stays solid.

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

More inputs

See all
SpectrumGet code
StationGet code
TeletextGet code
TitaniumGet code