Componentticket-stub0.57 KB gzipZero dependencies

Postmark

Circular postal cancellation stamp with wavy lines, city and date arcs that stamps in on mount.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add postmark

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { Postmark } from "@/components/ui/postmark"; <Postmark city="SPRINGFIELD" date="09/05/2026" serial="4211" />

Source code

postmark.tsx

Zero third-party dependencies (only React + standard DOM APIs). Copy directly into your project:

tsxpostmark.tsx72 lines
"use client"; import * as React from "react"; export interface PostmarkProps {  city: string;  date?: string;  serial?: string;} export function Postmark({ city = "NEW YORK", date, serial }: PostmarkProps) {  const [clientDate, setClientDate] = React.useState("");   React.useEffect(() => {    if (date !== undefined) return;    const id = setTimeout(() => {      setClientDate(new Date().toLocaleDateString("en-US"));    }, 0);

Props

Interactive Prop Playground

Tweak parsed AST props below to generate ready-to-paste JSX.

tsx3 lines
import { Postmark } from "@/components/ui/postmark"; <Postmark />
PropTypeDescription
citystringConfigures city. (Default: "NEW YORK")
datestringConfigures date.
serialstringConfigures serial.