App UI kits › Postbag › Search
Type from: or has:attachment and they become filters; results show the match marked, with an empty state.
Search 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: filter tokens, match marks, empty state.
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 |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | WXPhotos | ||
query | string | Query to start with, filters included (e.g. "from:theo has:attachment"). | |
onOpen | (id: string) => void | ||
onCancel | () => void | ||
onTab | (i: number) => void |
setQuery(q: string): voiddestroy(): voidimport PostbagSearch from './PostbagSearch';
<PostbagSearch />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Email app.