Skip to content
Buttons

StitchButton

A denim patch, half sewn, with the needle parked in the seam. Hover or focus and it sews the rest of the edge stitch by stitch. Leave and it unpicks.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
childrenReactNode—Button label.
onClick() => void—Click handler.
threadstring"#f2c14e"Thread colour.
restnumber0.4Share of the edge sewn at rest, 0 to 1.
durationnumber1.1Seconds to sew the whole edge.
classNamestringrounded patchShape, padding and text. The cloth stays.