Mail Client Contacts
Address book with search, favourites and a detail pane with recent conversations.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this page
What it's for
- Address book with search, favourites and a detail pane with recent conversations.
- Contacts page where Write to opens a compose window addressed to the person.
Includes
- Contact list
- Search
- Favourites
- Sort by name company or frequency
- Contact detail
- Recent conversations
- Write to
- Create edit delete
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19 and Tailwind CSS 4 in Next.js (App Router), Vite, React Router or TanStack Start, installed with the agentic-ui or shadcn CLI
- Your theme tokens, in light and dark mode
- 1 template or blueprint on this site use it (below)
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add mail-client-contactsInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/mail-client-contactsUsed in
- Type
- Page
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- Sample data
- Ships with sample data in
incoming.ts,people.ts,dsl.ts,seed.ts,story-ops.ts,story-clients.ts,bulk.ts; replace it with your own.
- npm packages
lucide-react- Registry dependencies
lib-primitives- Files
28 files
- components/agentic-ui/mail-client-contacts/screens/contacts.tsx
- components/agentic-ui/mail-client-contacts/lib/types.ts
- components/agentic-ui/mail-client-contacts/lib/store.ts
- components/agentic-ui/mail-client-contacts/lib/reducer.ts
- components/agentic-ui/mail-client-contacts/lib/rules.ts
- components/agentic-ui/mail-client-contacts/lib/reduce-threads.ts
- components/agentic-ui/mail-client-contacts/lib/reduce-settings.ts
- components/agentic-ui/mail-client-contacts/lib/clock.ts
- components/agentic-ui/mail-client-contacts/lib/reduce-drafts.ts
- components/agentic-ui/mail-client-contacts/lib/selectors.ts
- components/agentic-ui/mail-client-contacts/lib/snooze.ts
- components/agentic-ui/mail-client-contacts/lib/recipients.ts
- components/agentic-ui/mail-client-contacts/lib/markdown.ts
- components/agentic-ui/mail-client-contacts/lib/compose.ts
- components/agentic-ui/mail-client-contacts/data/incoming.ts
- components/agentic-ui/mail-client-contacts/data/people.ts
- components/agentic-ui/mail-client-contacts/data/dsl.ts
- components/agentic-ui/mail-client-contacts/data/seed.ts
- components/agentic-ui/mail-client-contacts/data/story-ops.ts
- components/agentic-ui/mail-client-contacts/data/story-clients.ts
- components/agentic-ui/mail-client-contacts/data/bulk.ts
- components/agentic-ui/mail-client-contacts/lib/contacts.ts
- components/agentic-ui/mail-client-contacts/components/notice.tsx
- components/agentic-ui/mail-client-contacts/components/contacts/contact-dialog.tsx
- components/agentic-ui/mail-client-contacts/components/common.tsx
- components/agentic-ui/mail-client-contacts/components/contacts/contact-detail.tsx
- components/agentic-ui/mail-client-contacts/lib/actions.ts
- components/agentic-ui/mail-client-contacts/components/confirm-dialog.tsx
Related components
Mail Client Compose
Email composer with recipient chips and autocomplete, rich text, attachments and a signature.
Details and live previewMail Client Inbox
Three pane email inbox with a folder sidebar, conversation list and reading pane.
Details and live previewMail Client Search
Email search with from, has attachment, date range and label filters and saved searches.
Details and live previewMail Client Settings
Email settings with accounts, signatures, labels and filter rules.
Details and live preview