Ballmac UI home

Mail 1: three-pane inbox

A working inbox: folders with an unread count, a searchable message list with stars and keyboard navigation, a reading pane with archive, delete, mark unread and reply, and a compose dialog. One pane at a time on phones.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/mail-1

Usage

Example: mail-1-demo.tsx
import { Mail1 } from "@/components/ballmac/blocks/mail-1/mail-1"

export default function Mail1Demo() {
  return <Mail1 />
}

Dependencies

Use with AI

An email client UI. Pass messages=[{ id, folder, from, subject, body[], time, unread?, starred?, attachments? }], me and onSend(to, subject, body); archive, delete, star, read state, search and reply are handled in state. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Mail 1: three-pane inbox (@ballmac/mail-1) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Webmail, support inboxes and notification centres
  • A realistic product screenshot

Not for

  • Chat (use ai-chat-2 or the chat components)

Registry JSON: https://ui.ballmac.com/r/mail-1.json

Free to use in personal and commercial projects.