Xzero UI
Pro library

Inbox triagePro

Process a focused inbox with archive, snooze, and restore actions.

$ pnpm dlx shadcn@4.23.0 add @xzero-ui-pro/inbox-triage
Live · keyboard ready

Use this pattern when messages need clear next actions. Connect the demo folder state to your own message service.

When to use

When not to use

Installation

Register both Xzero UI namespaces in your project's components.json:

{
  "registries": {
    "@xzero-ui": "https://mcp.xzero.co.uk/r/{name}.json",
    "@xzero-ui-pro": "https://mcp.xzero.co.uk/r/pro/{name}.json"
  }
}
npx shadcn@4.23.0 add @xzero-ui-pro/inbox-triage

Install xzero-foundation once, and import @/components/xzero/foundation.css in your app root. No Xzero token is used by this snapshot. For sample portraits, photos, fonts, or logos, download https://mcp.xzero.co.uk/install-assets.mjs and run node xzero-install-assets.mjs <receiving-project>.

Usage

import { InboxTriage } from "@/components/xzero/blocks/inbox-triage/inbox-triage";

export function Messages() {
  return <InboxTriage />;
}

API reference

InboxTriage

Inbox, Snoozed, and Archive tabs with messages that expand in place, an Unread filter, archive, snooze, and restore actions with single-key shortcuts, and an undo for the last move. Takes no props; messages are sample data.

No props.

Keyboard interactions

KeysAction
ArrowLeft / ArrowRightSwitch folders in the tab list.
ArrowUp / ArrowDownMove between message rows.
Enter / SpaceExpands or collapses the focused message and marks it read.
EArchives the focused message (outside Archive).
SSnoozes the focused message (in Inbox).
UMoves the focused message back to Inbox (in Snoozed or Archive).

Accessibility

Motion

Responsive behavior

Performance

Notes for AI

Guidance for AI tools

Blocks are complete, self-contained screens with sample data. Replace the sample data and connect the callbacks described above. Follow the declared prop types and do not invent props. Keep keyboard access, reduced motion support, and both light and dark themes intact when adapting it.

Full library index: https://ui.xzero.co.uk/llms.txt

Browse all components