27 of 44 · the first letter is illuminated
Wet cement
5 of 20 · sets in 8 s · Enter pours a new slab
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldCement(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-cementAbout this component
A name scrawled into a fresh pavement slab: each letter is dark and wet when written, cures to pale matte in eight seconds and then cannot be taken back; Enter pours a new slab.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Click
- Focus
Techniques3
- Keyframes
- Radial gradient
- State machine
Accessibility
Keyboard and screen readers
One native input named "Name in the wet cement"; the slab is aria-hidden and the count, the pour and any refusal are announced.
Reduced motion
The letters still cure (it is a state, not motion) and the slab does not nudge.
Use it in anything you build, commercial and client work included. Licence
More inputs
See all5 of 8 · hard enamel, gold plate
5 of 10 · Enter varnishes it
5 of 12 · 175 stitches