Sections / Gems / Inputs and forms

Postmark

An email sign-up as a postcard. The address is typed onto the card in typewriter type; send it and a cancellation strikes the stamp, with your name round the ring, the day in the middle and wavy lines trailing off, then the card turns over to its posted side. A bad address makes the card shake and says why. The card leans towards the pointer and the stamp catches a glint now and then. Your list plugs in through one callback.

Included with Everything
Open the demo
Postmark: six frames of the gem in motion
Kind
Inputs and forms
Interaction
email sign-up · form · 3D flip · validation · your list via callback · keyboard
Dependencies
None
Licence
Licensed with Full Access, for the sites you build; do not resell the gem itself

Formats

  • Webflow (native)
  • Figma (layers)
  • Framer component
  • HTML
  • Prompts for Claude Code, Cursor, Lovable, v0, Bolt

Copy to Webflow pastes a native section with the gem in an Embed inside it. Copy to Figma pastes a frame of its best moment, text and controls as layers. Copy to Framer pastes a component with its options as controls. HTML is one self-contained snippet. Each prompt (Claude Code, Cursor, Lovable, v0, Bolt) carries the exact files, so your agent installs this gem, not a lookalike. With the MCP server, ask your agent for get_section("postmark").

Behaviour and accessibility

  • It is a real form with a labelled email field: Enter sends, autocomplete fills it, and the status line under the card is a status role that says what happened.
  • Without onSubmit the card carries a 'Demo · nothing is sent' badge and only plays the posting; no address leaves the page.
  • The posted side has a 'Send another' button that turns the card back and puts focus in the field.
  • Between glints nothing runs; the card's lean follows mouse and pen only, and it all stops off screen.
  • With prefers-reduced-motion: no lean, glint, strike or turn; the postmark and the posted side appear at once.

Wire it to your model

onSubmit(email, { signal }) adds the address to your list: return a promise that resolves (or a fetch Response that is ok) when it worked, and throw, reject or return false when it did not. The card only turns over once your call has succeeded; a failure fades the postmark, shakes the card and says so.

Options

OptionTypeDefaultWhat
onSubmit(email: string, ctx: PostmarkContext) => unknownYour sign-up: resolve (or return a fetch Response that is ok) when the address is on the list, throw or reject when it is not. Unset = labelled demo mode, nothing is sent.
onDone(email: string) => voidCalled once an address is posted.
namestring"FIELD NOTES"Name round the postmark's ring, in capitals.
stampstring"Monthly"Short line on the stamp.
placeholderstring"you@example.com"Placeholder in the address line.
doneTitlestring"Posted"Big line on the posted side.
doneTextstring"Watch your inbox for the first one."Small line under it.
accentstring"#c43c21"Stamp and button colour.
inkstring"#25305e"Postmark ink colour.
paperstring"#f5efe4"Card colour.
labelstring"Your email address"Accessible label of the address field.
demoLabelstring"Demo · nothing is sent"The badge shown in demo mode.