Pool
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldPool(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-poolAbout 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