ham7a311

Stitch Button

Buttons

About

A fabric-styled button with an animated running-stitch border that pulls tight on hover and puckers when pressed, available in leather or denim finishes.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Stitch Button to your project and fits it to your theme.

Code

How Stitch Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import StitchButton from "@/components/ui/stitch-button";
import * as React from "react";

export default function Demo() {
  const [n, setN] = React.useState(0);
  return (
    <div className="flex min-h-full w-full items-center justify-center p-8 bg-[#efe6d8]">
      <div className="flex flex-col items-center gap-4 text-center">
        <p className="font-mono text-[0.6875rem] uppercase tracking-[0.16em] text-[#6f6458]">
          Card wallet · Hand-stitched sample
        </p>
        <p className="text-[2rem] leading-none text-[#2b231c]">OMR 18.500</p>
        <StitchButton material="leather" onClick={() => setN((x) => x + 1)}>
          {n ? `In your basket · ${n}` : "Add to basket"}
        </StitchButton>
      </div>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    240
  • Route Globe

    Route Globe

    189
  • Glass Tiles

    Glass Tiles

    180
  • Orbit Ring Stats

    Orbit Ring Stats

    80
  • Glyph Swell

    Glyph Swell

    72
  • Fan Deck Card

    Fan Deck Card

    66
  • Ask Bar

    Ask Bar

    58
  • Glass Ribbons

    Glass Ribbons

    53

More in Buttons

View all
  • Button

    Button

    164
  • Native Button

    Native Button

    31
  • Button

    Button

    86
  • Texture Button

    Texture Button

    117
  • Button Group

    Button Group

    8
  • Button

    Button

    21
  • Button

    Button

    1
  • Great UI Button

    Great UI Button

    19