Kintsugi
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldKintsugi(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-kintsugiAbout this component
A message field on a speckled raku slab with a gold-mended crack. The seam runs out under the words as you write them, branching as it goes, with a slow shimmer travelling along the gold.
Triggers
- Focus
- Draw
- State change
Techniques
- SVG
- clip-path
- stroke-dashoffset
- CSS transition
Difficulty
Advanced
Accessibility
Keyboard and screen readers
A native text input named by aria-label ("Message"); the seam, mirror and caret are aria-hidden. Focus draws a gold ring with a soft glow.
Reduced motion
The seam reveal and shimmer are off and the caret stays solid.
Use it in anything you build, commercial and client work included. Licence