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
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add postmarkOr install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { Postmark } from "@/components/ui/postmark"; <Postmark city="SPRINGFIELD" date="09/05/2026" serial="4211" />Source code
postmark.tsxZero 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 />| Prop | Type | Description |
|---|---|---|
| city | string | Configures city. (Default: "NEW YORK") |
| date | string | Configures date. |
| serial | string | Configures serial. |