
Swipe Actions List
Tables
Search by name, tag, category or type
Source and install need .
pnpm dlx shadcn@latest add @assembli/inbox-listA mail-style message list like Gmail's. Avatars turn into checkboxes on hover, shift-click selects a run, and the toolbar swaps to bulk actions. Hovering a row trades its time for archive, read and snooze buttons, and removed rows fold away with an Undo. Keyboard first: j and k move, x selects, e archives, s stars, u toggles read, # deletes. Unread rows are bold, grouped under "Today".
Other props pass through to the root element.
items
InboxItem[]
defaultItems
InboxItem[]
Default []
onItemsChange
(items: InboxItem[]) => void
onOpen
(item: InboxItem) => void
Click or Enter on a row.
onSnooze
(items: InboxItem[]) => void
Snooze has no built-in behavior; handle it here.
empty
React.ReactNode
Shown when the list (or the Unread filter) is empty.
| Prop | Type | Default | Description |
|---|---|---|---|
| items | InboxItem[] | – | |
| defaultItems | InboxItem[] | [] | |
| onItemsChange | (items: InboxItem[]) => void | – | |
| onOpen | (item: InboxItem) => void | – | Click or Enter on a row. |
| onSnooze | (items: InboxItem[]) => void | – | Snooze has no built-in behavior; handle it here. |
| empty | React.ReactNode | – | Shown when the list (or the Unread filter) is empty. |