Stamp

New

Every press thumps a rubber stamp down beside it

$ npx @hritik-sharmaa/repeat-ui add button-stamp
Category
Button
Added
Nov 1, 2026
Version
1.0.0
Packages
None
Flavors
TS · JS · Tailwind · CSS
Live preview
Customize
6
1.6s
10px
import ButtonStamp from "@/components/repeat-ui/button-stamp/preview";

<ButtonStamp stampText="Approved">Approve</ButtonStamp>

Installation

  1. Run the command

    Adds the files and installs any packages they need. Works with npm, pnpm, yarn and bun.

    $ npx @hritik-sharmaa/repeat-ui add button-stamp --variant ts-tailwind
  2. Use it

    The files are in components/repeat-ui/button-stamp/.

    import ButtonStamp from "@/components/repeat-ui/button-stamp/preview";
    
    export default function Page() {
      return <ButtonStamp />;
    }

Props

PropTypeDefaultDescriptionOptions
childrenReactNode-The button label.-
size"sm" | "md" | "lg""md"Height, padding and font size. Every Repeat UI button shares this scale.sm | md | lg
stampTextstring"Approved"Word on the stamp.-
stampColorstring"#e11d48"Ink colour of the stamp.-
colorstring"#fafafa"Button colour.-
textColorstring"#0a0a0a"Button text colour.-
maxStampsnumber6Most stamps on screen at once.-
durationnumber1.6Seconds before a stamp fades away.-
radiusnumber10Button corner radius in pixels.-
onClick(event: MouseEvent) => void-Click event handler.-
classNamestring""Extra classes for the button.-

More button

See all