Shadcn Mail App Blocks

Mail app blocks built with shadcn/ui: three pane email clients, inbox dashboards, sales inboxes with AI summaries, folder and label sidebars and sectioned inboxes with search, compose and reply.

Mail App 1 Pro

Three pane mail client with resizable, collapsible folder navigation, account select, color labels, All and Unread tabs, search, reading pane with snooze, archive and junk actions, reply and compose.

Mail App 2 Pro

Inbox start page with greeting, live clock and three counters, day grouped inbox with priority badges, filter and sort, task checklist, comment feed and a message sheet with reply.

Mail App 3 Pro

Mail app with workspace rail, sidebar holding account menu, Cmd+K search, compose, nested folders and storage meter, tabbed list with attachment chips and reading pane with attachments and undo.

Mail App 4 Pro

Sales inbox with tabbed lead conversations, thread with AI summary showing intent, sentiment and next step, drafted and scheduled replies, meeting booking and contact panel with activity and campaigns.

Mail App 5 Pro

Inbox with workspace switcher, folders and labels you can add inline, starrable message list, newsletter reader with hidden images notice, unsubscribe button, collapsible sender details and reply box.

Mail App 6 Pro

Inbox with account switcher, core and smart folders, Primary, Promotions, Social and Updates tabs, collapsible day groups with checkboxes, bulk archive, read and delete, and a side reading panel.

Mail App 7 Pro

Client inbox with top search bar, icon rail, All, Unread, Flagged and Sent tabs, rows with activity line and status badge, and a thread view with flag, inline reply and forward.

Mail App 8 Pro

Full width inbox with icon rail, search, Ask AI popover that turns prompts into filters, label and unread chips, Inbox, Sent and Newsletters sections and a reader sheet with attachments.

About Shadcn UI Mail App Blocks

A mail app is the screen where people read, sort and answer email: folders on one side, a message list in the middle and the open message with a reply box. These eight shadcn mail blocks cover a classic three pane client, an inbox dashboard, a sales inbox with AI summaries, newsletter reading, bulk selection and a sectioned inbox with AI search.

Like the rest of our shadcn blocks, every layout is built with React, TypeScript and Tailwind CSS on top of shadcn ui components such as Sheet, Dialog, Tabs, Scroll Area, Input Group and Dropdown Menu. The blocks are interactive with sample data: opening a message marks it as read, replies appear in the thread, compose adds to Sent and archive or delete move messages out of the list.

Key Elements of a Mail App

  • Folder navigation: Inbox, Sent, Drafts, Archive and Trash with unread counts, plus labels or custom folders.
  • Message list: sender, subject, preview and time, with clear unread, starred and selected states.
  • Reading pane: the full message with sender details, date, attachments and earlier replies.
  • Reply and compose: an inline reply box and a compose dialog with To, Subject and Message fields.
  • Quick actions: archive, delete, star, mark as unread and move, ideally with undo.
  • Search and filters: text search plus tabs or chips for unread, flagged, labels or attachments.

Where and Why to Use Mail App Blocks

Many products need an inbox even when they are not email clients: support tools, CRMs, client portals and internal admin panels all show threads of messages that people triage and answer. These blocks give you that interface with the hard details already handled, including the mobile switch between list and message, empty states and toasts. Since they are made of regular shadcn components and Tailwind CSS tokens, they fit into an existing shadcn ui dashboard without a separate design pass.

  • Email clients: a full client with folders, labels, compose and a resizable reading pane.
  • Sales and outreach tools: lead conversations with intent, contact data and campaign stats next to the thread.
  • Client portals and agencies: a shared inbox where each conversation belongs to a client project.
  • Support desks: triage incoming messages with bulk actions, categories and priority flags.
  • Personal dashboards: combine the inbox with tasks and comments on one start page.
  • AI assistants: add summaries, drafted replies and natural language search on top of the inbox.

Mail App Blocks in This Collection

  • Mail App 1: Start here if you need a familiar desktop email client. Users can resize the panes, collapse the navigation and snooze a conversation to a preset time or a calendar date.
  • Mail App 2: A start page rather than a client. It suits personal workspaces where mail, tasks and team comments should be visible together.
  • Mail App 3: Fits multi workspace products. It has nested folder groups, a storage meter, attachment previews and next and previous buttons for reading through the list.
  • Mail App 4: Built for outbound sales. Reps see lead intent and the next step before reading the thread and can add the contact to the CRM in one click.
  • Mail App 5: Works well for consumer mail with many newsletters, thanks to the image privacy notice, the unsubscribe button and user created folders and labels.
  • Mail App 6: The pick for heavy triage. Category tabs, day groups and bulk actions help clear a large inbox quickly.
  • Mail App 7: Aimed at freelancers and studios. Each row shows the client, the latest activity and a status, and replies open in a focused inline composer.
  • Mail App 8: A wide single column inbox for teams that prefer one scrolling page, with filter chips and an Ask AI popover for finding mail.

Similar Block Categories

  • Chat UI: real time conversations and shared inboxes with a chat layout.
  • AI Chat: add an assistant that answers questions about the inbox.
  • Sidebar Layouts: more navigation patterns for the folder sidebar.
  • Empty State: friendly screens for an empty folder or a search with no results.
  • Modal Dialogs: extra dialog layouts for compose, settings or confirmations.

Accessibility

Message rows are real buttons, so the list can be navigated with the Tab key, and Mail App 3, 4, 5 and 7 mark the open message with aria-current. Icon only actions such as archive, delete, snooze and star have aria labels or screen reader text, most of them with a tooltip, and unread dots in Mail App 3 and 4 carry an “Unread” label. Sheets used for navigation and reading include a title and description for screen readers, and the compose dialogs use labelled To, Subject and Message fields. In Mail App 6 every checkbox has a label such as “Select all” or the message subject.

A few fields rely on placeholder text alone. Consider adding an aria-label to the reply box in Mail App 1 and 7, to the header search in Mail App 7 and 8 and to the Ask AI input in Mail App 8. The attach, emoji and link buttons in several reply boxes are placeholders, so connect them to real actions or remove them before launch.

Mail App FAQ

A mail app UI is the interface of an email client: a navigation area with folders and labels, a list of messages and a reading pane where you open a message and reply. Most layouts add search, compose, and actions such as archive, delete, star and mark as unread.

They are complete email client screens built with shadcn ui components and Tailwind CSS. Each block already handles selecting a message, marking it as read, replying, composing and moving messages between folders with sample data, so you can connect your own mail API instead of building the interface from scratch.

An inbox has many small states that take time to build well: unread markers, empty folders, a selected row, a reading pane that turns into a full screen view on phones and toasts with undo. Starting from a working layout lets you spend that time on syncing, search and the parts that make your product different.

Folder navigation with unread counts, a searchable message list with clear unread and starred states, a reading pane with the sender, date and full body, a reply box, a compose dialog and quick actions for archive, delete and mark as unread. Undo after destructive actions and a sensible empty state round it off.

Mail App 1. Navigation, message list and reading pane sit in resizable panels, the navigation panel collapses to an icon column with tooltips, and the panel sizes are saved under the mail-app-1-layout id so they survive a reload. On phones it switches to a list view and a reading view with a back button.

All eight blocks use date-fns for message times and sonner for toasts through the shadcn Toaster. Mail App 1 also keeps its state in a zustand store, uses the Resizable component, which is built on react-resizable-panels, and imports VisuallyHidden from radix-ui. Mail App 5 renders newsletter images with next/image.

Sample messages live in each block's data file. Mail App 1 routes every change through the actions of its zustand store in use-mail.ts, such as moveMail, toggleRead, replyToMail and sendMail. The other blocks keep messages in useState and change them through small update functions. Load the list from your API and call it inside those actions.

Mail App 4. Each conversation belongs to a lead with a role and company, the thread opens with an AI summary showing intent, sentiment and the next step, and a side panel lists contact details, an activity timeline and campaign stats. The composer can draft a reply, schedule the send and book a 30 minute call.

No, they are wired to sample data so you can plug in your own model. In Mail App 4 the AI summary is a field on each conversation and Draft a reply inserts a prepared suggestedReply after a short delay. In Mail App 8 Ask AI matches keywords such as a label name, unread or attachment and turns them into filters, otherwise it runs a normal search.

Mail App 6. Every row has a checkbox, each day group has its own select checkbox and the toolbar has a select all checkbox with an indeterminate state. With messages selected you can archive them, mark them as read or delete them in one step, and the toast offers an undo.

Yes, in Mail App 3 to Mail App 8. Archiving, deleting or moving a message shows a toast with an Undo action that puts the message back where it was. Mail App 1 and Mail App 2 confirm the action with a toast but have no undo.

Mail App 3 focuses the search field with Cmd+K or Ctrl+K and shows the shortcut in the input. Mail App 3, Mail App 4, Mail App 5 and Mail App 6 send the reply with Cmd+Enter or Ctrl+Enter from the reply box.

On small screens the list and the reading pane never share the screen. Mail App 1, Mail App 3, Mail App 4, Mail App 5 and Mail App 7 swap the list for the message and show a back button. Mail App 2, Mail App 6 and Mail App 8 open the message in a Sheet that slides in from the right. Folder sidebars move into a left Sheet behind a menu button.

Mail App 2. It opens with a greeting and a live clock, three counters for unread mail, open tasks and comments, an inbox grouped by day with Urgent, High, Medium and Low priority badges, a task list with checkboxes and a feed of the latest comments.

Mail App 5. Newsletter messages render as a centered article with a hero image, headline and an Unsubscribe button next to the sender. Images stay hidden behind a privacy notice until the reader clicks Show images, and a collapsible header reveals the from, to, date, mailed by and security details.

No. All eight mail app blocks are part of All Access, the one-time license that also unlocks every other block, admin dashboard and template with lifetime updates.
shadcn mail app blocks
Unlock Premium Blocks & Sections
Premium blocks are part of All Access. One license unlocks the whole Shadcn UI Kit, so you can build complete pages and products instead of single sections.
  • 550+ blocks for landing pages, stores, dashboards and apps
  • 16 admin dashboards and 17 ready-made apps
  • 5 premium Next.js website templates
  • 560+ component variants and 70+ examples
  • Install with the shadcn CLI or from your AI editor through the MCP server
  • Lifetime updates, including every new block we release
Unlock Now

One-time payment, no subscription.