5 of 12 · 175 stitches
Marquetry
5 of 10 · Enter varnishes it
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldInlay(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-inlayAbout this component
A word inlaid in a walnut box lid: each letter is cut as an outline in pale veneer, drops into its recess and is tapped flush with a shiver of the lid, and Enter sweeps a coat of varnish across the whole piece.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Click
- Gradient
Techniques3
- Gradient
- Keyframes
- CSS transition
Accessibility
Keyboard and screen readers
One native input named "Word for the box lid"; the lid is aria-hidden and the count, the varnish and any refusal are announced.
Reduced motion
Letters appear set and the varnish does not sweep.
Use it in anything you build, commercial and client work included. Licence
More inputs
See all5 of 10 · Enter pulls the squeegee
5 of 18 · no undo: Backspace shakes it clean
5 of 10 panes