Inbox triagePro
Keyboard-first triage: j/k to move, e to archive, s to snooze, with undo.
What's inside
- Keyboard triage
- Animated removal with undo
- Reading pane
When to use
- Queues people clear quickly: email, support, approvals, moderation.
When not to use
- Lists people browse rather than clear.
Installation
Usage
Import it from @/components/blocks/inbox-triage after installing. It ships with sample data, so it renders straight away; swap in your own data when you're ready.
import { InboxTriage } from "@/components/blocks/inbox-triage";
export default function Page() {
return (
<main className="mx-auto max-w-6xl p-6">
<InboxTriage />
</main>
);
}API reference
InboxTriage
Keyboard-first inbox triage with a reading pane, animated removal and undo. Also the default export. No props: sample data sits at the top of the file, ready to swap for your own.
No props.
Keyboard interactions
| Keys | Action |
|---|---|
| Jor↓ | Next message |
| Kor↑ | Previous message |
| E | Archive |
| S | Snooze until tomorrow |
| U | Toggle unread |
Accessibility
- The inbox is focusable and its label lists the shortcuts.
- Shortcuts are ignored while typing in a field.
- Undo appears after every move.
Motion
- Archived rows collapse and the next one slides up.
- The selected-row marker glides between rows.
Responsive behavior
- The reading pane sits under the list below 768px.
Performance
- Sample data is plain arrays at the top of the file. Replace them with your API data and keep the shapes.
Notes for AI
- Keep single-letter shortcuts scoped to the inbox element, not the window.
This page as Markdown, for assistants and coding agents:
/blocks/inbox-triage/markdownThe full library index for assistants is at /llms.txt.
Lode222 doc pagesllms.txt