App UI kits › Postbag › Compose

Compose

Recipients with suggestions, attachments and schedule send; Send folds the message into an undo bar that counts down.

Compose is a screen from Postbag, an app ui kit with 12 screens: An email app set like a letter-writer’s desk, where one swipe sorts a message and receipts add themselves up. Price: $5 for the whole pack.

Built with: recipient chips, schedule send, undo send.

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.

Compose props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosWXPhotos
undoSecondsnumber10)Seconds to undo a send (default 10).
onSend(m: { to: string[]; subject: string; at?: string }) => void
onCancel() => void

Methods on the ref

Use it in React

import PostbagCompose from './PostbagCompose';

<PostbagCompose />

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

More in Postbag

Good for: Email app.