Component packs › Postmark › Stamp Badge

Stamp Badge

A perforated engraved stamp: when its status changes a postmark with today's date thumps across it and the ink lands unevenly.

Stamp Badge is a badge from Postmark, a component pack with 6 mail controls: Send buttons and forms made of paper, wax, stamps and ink. Price: $2 for the whole pack.

Built with: perforations by mask, guilloché engraving, inked postmark with date.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Stamp Badge props

PropTypeDefaultDescription
labelstring"Delivered"Word printed at the foot of the stamp. Default "Delivered".
valuestring"1st"Value in the corner. Default "1st".
townstring"Porto"Town in the postmark. Default "Porto".
cancelledbooleanStart cancelled (postmarked).
widthnumber120Width in px (height follows at 6 : 5). Default 120.
onChange(cancelled: boolean) => void
darkboolean
autoplaynumber | falseShowcase mode: cancels and clears itself every N ms.

Methods on the ref

Use it in React

import StampBadge from './StampBadge';

<StampBadge />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Postmark

Good for: Skeuomorphic UI.