Component packs › Postmark › Airmail Progress
The airmail stripes are printed round the envelope as the value grows, and at 100% the stamp is cancelled with the day's postmark.
Airmail Progress is a progress 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: striped border by path length, spring-eased value, postmark on complete.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | 0 | 0 to 1. Default 0. |
label | string | "Uploading" | Status while in progress. Default "Uploading". |
doneLabel | string | "Sent" | Status at 100%. Default "Sent". |
to | string[] | Address lines in handwriting. | |
town | string | "Porto" | Town in the postmark. Default "Porto". |
onComplete | () => void | ||
dark | boolean | ||
autoplay | number | false | Showcase mode: advances in uneven steps every N ms, then starts again. |
readonly value: numbersetValue(v: number): voiddestroy(): voidimport AirmailProgress from './AirmailProgress';
<AirmailProgress />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.