Kintsugi

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-kintsugi

About 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

More inputs

See all
Long shadowGet code
LuggageGet code
MagnetsGet code
MalachiteGet code