Skip to content
VibeFather
Sign up free

2 cases built from this template

Same prompt, different [VARIABLES]. Click one to preview it above.

About this template

A three-pane email client built as a real, working interface rather than a picture of one. The first screen is a busy dark slate inbox with a conversation already open: folders and coloured labels on the left, a dense conversation list in the middle and a threaded reading view on the right. The split inbox separates Primary, Updates and Newsletters, and the list supports unread marks, stars, snooze, selection and bulk actions. The composer has rich-text formatting, attachment chips, recipient autocomplete from a contact list, scheduled send and keyboard sending. Search filters live as you type, with chips for attachments, unread state, labels and time, and a shortcuts sheet lists the single-key commands for moving, archiving, starring, replying and composing. A seeded mailbox of a fictional freelancer gives the screen real density, with clients, an accountant, newsletters, receipts and family. Everything lives in localStorage behind one adapter file, so a real mail API can replace the storage without touching the interface. White, slate and a warm coral for unread and primary actions; dark mode by default with a light mode switch. Swap the service name, user and seed data in the content and seed files to make it yours.

The template prompt

The live demo was built from exactly this text — nothing added. The other cases only change the values of the [VARIABLES].

# Email Inbox App Interface

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
A three-pane email client for a fictional mail service: folders and labels; a conversation list with unread, star, snooze and bulk actions; a threaded reading view; a composer with rich text, attachment chips, recipient autocomplete and scheduled send; search with filters; keyboard shortcuts; and a split inbox (Primary, Updates, Newsletters). A seeded mailbox of a fictional freelancer. Everything is stored in localStorage behind one adapter file written so a real mail API can replace it. The first screen is a busy inbox with a thread open. White, slate #1E293B and a warm coral #FF6B5A for unread and primary actions; dark mode.

- Audience: Product designers and front-end developers who need a believable mail or messaging interface to prototype with, and developers building a mail client.
- Goal: Look and behave like a mail client people already use: dense, fast and keyboard-friendly, with real state behind every control.
- Tone: Calm, compact and neutral. Interface labels are short and plain; the seeded messages read like real work email.

## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: motion (MIT), lucide-react (ISC), @fontsource-variable/onest (OFL-1.1), @fontsource-variable/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - vite.config.ts: base './', build.sourcemap false, nothing from src/ copied into dist/.
  - tailwind.config.js: darkMode 'class'; extend colors with two palettes named by CSS variables in src/index.css (slate, panel, raised, line, text, muted, accent) so the dark and light themes swap by changing the class on <html>.
  - src/data/types.ts defines Thread, Message, Contact, Label and Folder; src/data/seed.ts holds the seeded mailbox; src/data/adapter.ts exports a MailAdapter interface and LocalStorageAdapter, the only file that reads or writes localStorage under the key [BRAND_SLUG]-state, where [BRAND_SLUG] is [BRAND] lowercased with hyphens.
  - src/store/useMail.ts is a reducer (useReducer + context) that holds the mailbox state and every action: select thread, mark read or unread, star, snooze, archive, delete, move to label, send, schedule, save draft, apply search and filters, set theme.
  - Scheduled messages sit in an Outbox folder; on load, any whose scheduled time has passed move to Sent.
  - The rich-text body is a contentEditable div with document.execCommand for bold, italic, lists, link and quote; no editor library.
  - All interface copy, folder names, labels, contacts and settings live in src/content.ts; the mailbox itself lives in src/data/seed.ts; components never hard-code copy.

## Variables
- [BRAND] — Mail service name (default: "Quill Mail")
- [USER_NAME] — Mailbox owner (default: "Maya Okonkwo"). The freelancer whose mailbox is seeded.
- [USER_ROLE] — What the owner does (default: "freelance brand designer"). Shown in the account menu and the signature.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/email-inbox-app-interface in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

Pro template

Unlock the full prompt and the source code

  • The full prompt: design, sections, motion, assets
  • Source code of every live demo
  • Commercial license

The live demo and DESIGN.md stay free.

From $9/month · Launch sale on yearly and lifetime

DESIGN.md

The design system on its own — colors, type, spacing and motion. Apply this look to a project you already have.

---
name: "Email Inbox App Interface"
colors:
  slate: "#0F172A"
  panel: "#1E293B"
  raised: "#273449"
  line: "#334155"
  text: "#F8FAFC"
  muted: "#94A3B8"
  accent: "#FF6B5A"
  white: "#FFFFFF"
  ink: "#1E293B"
  mist: "#E2E8F0"
  slatemuted: "#64748B"
typography:
  ui_everything_in_the_interface: { family: "Onest Variable", weights: [400, 500, 600, 700] }
  mono_timestamps_keyboard_hints_attachment_sizes: { family: "JetBrains Mono Variable", weights: [400, 500] }
spacing: "Density is high: list rows 56px (72px with a snippet line), sidebar items 32px, pane padding 12px, 4px rhythm; reading pane text 15px with 1.6 line-height and a max width of 640px."
radius: "Panels and composer 12px; buttons 8px; chips and avatars rounded-full; inputs 8px."
---

# Email Inbox App Interface — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **slate** `#0F172A` — Dark theme app background
- **panel** `#1E293B` — Dark theme side and top bars; light theme primary text
- **raised** `#273449` — Dark theme hover rows, selected chips, composer
- **line** `#334155` — Dark theme borders and dividers
- **text** `#F8FAFC` — Dark theme text
- **muted** `#94A3B8` — Dark theme secondary text
- **accent** `#FF6B5A` — Warm coral: unread dots and bold unread text, primary buttons with slate text, selection, the compose button
- **white** `#FFFFFF` — Light theme background and buttons
- **ink** `#1E293B` — Light theme text; text on coral
- **mist** `#E2E8F0` — Light theme borders
- **slateMuted** `#64748B` — Light theme secondary text

## Typography
- **UI / everything in the interface** — Onest Variable (OFL), weights 400/500/600/700. Self-host the font files.
- **Mono / timestamps, keyboard hints, attachment sizes** — JetBrains Mono Variable (OFL), weights 400/500. Self-host the font files.

## Spacing & shape
- Spacing: Density is high: list rows 56px (72px with a snippet line), sidebar items 32px, pane padding 12px, 4px rhythm; reading pane text 15px with 1.6 line-height and a max width of 640px.
- Radius: Panels and composer 12px; buttons 8px; chips and avatars rounded-full; inputs 8px.

## Motion
- Pane changes cross-fade 150ms; list rows slide out 200ms on archive or delete.
- Composer opens with a 220ms scale from 0.98 and fade; toasts slide up 200ms and leave after 3 seconds.
- Bulk action bar slides down from under the toolbar 200ms; hover states 120ms.
- Snooze and star controls scale to 0.9 and back on press.
- prefers-reduced-motion: everything switches instantly with no fades or slides.

## Imagery
None. No photographs or illustrations: avatars are circles in a colour derived from the sender's name with white initials; icons come from lucide; the first screen is carried by the density and polish of the interface itself.

## Tone
Calm, compact and neutral. Interface labels are short and plain; the seeded messages read like real work email.

---
— Prompt by VibeFather · https://vibefather.ai/t/email-inbox-app-interface · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

Make it yours

  • A customer support team: set BRAND to your help desk name, relabel the folders for queues and turn the seeded freelancer mailbox into sample customer threads with reply templates.
  • A freelance consultant: set USER_NAME and USER_ROLE to yourself, replace the seed messages with your own client correspondence and point the signature at your business details.
  • A messaging product prototype: keep the three-pane layout, swap email fields for direct messages and use the labels for conversation topics while keeping search and shortcuts.
  • An internal tool demo for a developer audience: keep the dark slate theme, seed the mailbox with deploy alerts and receipts, and show the split inbox as Primary, Alerts and Digests.

Email Inbox App Interface: questions and answers

What is included in the Email Inbox App Interface template?

The Email Inbox App Interface template is a single-page three-pane email client. It includes folders and coloured labels, a conversation list with unread marks, stars, snooze, selection and bulk actions, a threaded reading view, a composer with rich-text formatting, attachment chips, recipient autocomplete and scheduled send, live search with filter chips, a keyboard shortcuts sheet, and a split inbox for Primary, Updates and Newsletters. A seeded mailbox gives the screen real density on first load.

How do I connect the Email Inbox App Interface to a real mail API?

The Email Inbox App Interface template stores everything in localStorage behind one adapter file that exports a mail adapter interface. To use real mail, write a new adapter that implements the same interface against your mail API and swap it in place of the local storage adapter. The interface, store and components stay as they are, because only that adapter file reads or writes stored mail.

How do I change the mail service name and the person whose inbox is shown?

Set BRAND to your mail service name, USER_NAME to the mailbox owner and USER_ROLE to what that person does. The template also keeps all interface copy, folder names, labels, contacts and settings in one content file, and the seeded mailbox in a separate seed file. Rewrite those two files with your own messages, clients and labels, and update the signature and account menu to match.

Can I use the Email Inbox App Interface template for client work?

Commercial and client use of the Email Inbox App Interface template needs Pro. Free templates' prompts and every DESIGN.md are free for personal, non-commercial use under CC BY-NC 4.0, while Pro templates show the brief, stack and variables publicly and the full prompt and the demo source code to Pro members. The template is a Pro template, so its prompt and source code come with Pro membership.

Which keyboard shortcuts does the Email Inbox App Interface support?

The Email Inbox App Interface template includes a shortcuts sheet that lists the single-key commands for moving, archiving, starring, replying and composing, and the composer supports sending by keyboard. The sheet is part of the interface, so open it in the demo to see the exact keys. Every shortcut runs through the same mailbox state as the buttons, so actions stay in sync.

How do I build an email inbox app interface with AI?

Copy the full prompt (Pro) from this page or run npx vibefather add email-inbox-app-interface, replace [BRAND], [USER_NAME] and [USER_ROLE] with your own content, and paste it into Claude Code, Codex, Cursor or another AI coding agent. The live demos were built from exactly that text.

Which AI model built the Email Inbox App Interface demo?

The Brand designer's mailbox case was built by GLM-5.4 in ZCode; the Motion designer's mailbox case was built by Kimi K3.1 Pro in Kimi Code. Each build used the published prompt with nothing added, so you can compare the models side by side.

What tech stack and pages does the Email Inbox App Interface template use?

Email Inbox App Interface is a single-page site built with Motion, Tailwind CSS and React, with micro-interactions. The prompt fixes the stack so every AI tool builds the same kind of project, and the result runs as a static site you can host anywhere.

Is the Email Inbox App Interface template free to use?

Email Inbox App Interface is a Pro template: the brief, stack and variables are public, and the full prompt, the source code of the live demo and a commercial license come with VibeFather Pro. Its DESIGN.md is free for personal projects.

Does the Email Inbox App Interface template work on mobile?

Yes. Every Email Inbox App Interface build was tested on a phone-sized screen as well as desktop before it went live, checking layout, text size and touch targets. Open the live demo on your phone, or switch the preview on this page to mobile view, to check it yourself.