Stitch

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-stitch

About this component

A name field cut from teal felt with a cream patch sewn on for the text, a row of running stitches round it and a coral button at its head. Focus sets the stitches running and lifts the patch off the felt.

Triggers

  • Focus
  • Border
  • Keyframe
  • Draw

Techniques

  • SVG stroke
  • stroke-dashoffset
  • Radial gradient
  • Keyframes

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native text input inside a <label>, named by aria-label ("Name for the label"); felt, stitches, button and drawn cursor are aria-hidden.

Reduced motion

Every transition and animation is switched off.

Use it in anything you build, commercial and client work included. Licence

More inputs

See all
SumGet code
SwissGet code
TapeGet code
TerrazzoGet code