A shared inbox laid out as hairline rows carrying the member, the subject, an assignee avatar, how long they have waited, and a tone-coded status pill, filtered by status chips with live counts.
A shared inbox laid out as hairline rows carrying the member, the subject, an assignee avatar, how long they have waited and a tone-coded status pill, filtered by status chips with live counts.
Upgrade to Pro
Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.
Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.
Radix flavor
npx shadcn add "https://ui.beste.co/r/chat26?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/chat26?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/chat26.tsx plus the badge23 and button21 components it uses for the eyebrow and the action.
The installed file exports chat26Demo alongside the block: the exact props behind the preview above. Spread it to get a working inbox in one line.
import { Chat26, chat26Demo } from "@/components/beste/block/chat26";
export default function InboxPage() {
return <Chat26 {...chat26Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Chat26 } from "@/components/beste/block/chat26";
export default function InboxPage() {
return (
<Chat26
badge={{ label: "The shared inbox" }}
heading="Every conversation has an owner and a clock"
description="Nothing sits unclaimed."
statusLabels={{ open: "Open", waiting: "Waiting on us", closed: "Closed" }}
allLabel="Everything"
columns={["Member", "Owner", "Waiting", "Status"]}
conversations={[
{
member: "Rowan Blake",
subject: "Can I move Wednesday to the afternoon?",
status: "waiting",
waiting: "18 min",
site: "Bramble Health",
assignee: {
name: "Priya Nandan",
avatar: { src: "/people/priya.jpg", alt: "Portrait of Priya Nandan" },
},
},
]}
button={{ label: "See how triage works", href: "/product/inbox" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string } | – | Eyebrow above the hairline rule, rendered through Badge23 |
heading | string | – | Section heading in the left column of the header |
description | string | – | Supporting paragraph, right-aligned from md up |
statusLabels | Record<Status, string> | – | The word shown on each pill and filter chip |
allLabel | string | "All" | Label for the unfiltered chip |
columns | string[] | [] | Column headings, also reused as mobile row labels |
conversations | Conversation[] | [] | Inbox rows in the order they should read |
button | { label: string; href: string } | – | Outline action under the table |
className | string | – | Extra classes for the outer section |
type Status = "open" | "waiting" | "closed";
type ActionLink = {
label: string;
href: string;
};
type Assignee = {
name: string;
avatar: { src: string; alt: string };
};
type Conversation = {
member: string;
subject: string;
status: Status;
waiting: string;
assignee: Assignee;
site: string;
};Status union rather than derived from the data, so all three chips always appear, including ones with a count of zero. That is deliberate: a disappearing filter reads as a missing feature.statusLabels is used in both the chips and the row pills, so the two can never disagree. It falls back to the raw key when a label is missing.hidden lg:grid, so on mobile the waiting label comes from columns[2] rendered inline in that cell. Passing fewer than three column labels leaves it blank.lg, its margin would collapse there. The rows container carries mt-8 lg:mt-0 to compensate.min-w-0 with truncate on the subject, so a long subject ellipsizes rather than pushing the other columns out of the grid.chat31
A messaging section splitting a hairline matrix between the staff view and the member view, each half floating its own live asset above a title and a list of what that side gets.
chat22
A two-pane messaging panel: a selectable conversation list with unread dots on the left, and the chosen thread on the right with member and staff bubbles, timestamps, and a composer row.
chat23
A messaging section pairing a light heading, a hairline table of response figures, and two actions with an image tile that floats a live conversation thread.
chat24
A support section listing four linked contact channels as a hairline matrix, each with an icon tile, its response time, and its hours, beside a soft panel floating a live card for whoever is on shift.