Patch

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-patch

About this component

An embroidered navy twill patch with a merrowed orange edge and a running stitch inside it, the label sewn in satin thread. Hover sets the stitches marching round; a press pushes the patch into the cloth.

Triggers

  • Hover
  • Click
  • Border

Techniques

  • SVG stroke
  • stroke-dashoffset
  • Keyframes
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native button named by its label; the stitch drawing is aria-hidden and :focus-visible draws an outline.

Reduced motion

The stitches hold still.

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

More buttons

See all
PillowGet code
ReplyGet code
SettleGet code
ShearGet code