A support section built as one dark panel, with a light heading, three hairline promises about who answers, two actions, and a bordered column floating a live on-call conversation.
A support section built as one dark panel, with a light heading, three hairline promises about who answers, two actions and a bordered column floating a live on-call conversation.
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/chat27?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/chat27?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/chat27.tsx, the chat33 thread piece it floats in the right column (installed to components/beste/piece/chat33.tsx), and the badge23 and button21 components it uses for the eyebrow and the actions.
The installed file exports chat27Demo alongside the block: the exact props behind the preview above. Spread it to get a working panel in one line.
import { Chat27, chat27Demo } from "@/components/beste/block/chat27";
export default function SupportPage() {
return <Chat27 {...chat27Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Chat27 } from "@/components/beste/block/chat27";
import { Chat33 } from "@/components/beste/piece/chat33";
export default function SupportPage() {
return (
<Chat27
badge={{ label: "Out of hours" }}
heading="Somebody reads it, even at ten past seven on a Monday"
description="The on-call rota starts before clinics do and the person who answers can also fix it."
promises={[
{
title: "Engineers on the rota",
description: "Support shifts are taken by the people who wrote the code.",
},
{
title: "Before the doors open",
description: "Cover starts at 07:00 UK, half an hour before the earliest clinic.",
},
]}
buttons={[
{ label: "See the status page", href: "/status" },
{ label: "Read an incident write-up", href: "/incidents" },
]}
media={
<Chat33
name="On call"
status="Replying"
items={[
{ from: "them", text: "Booking page is slow at Kingsway this morning." },
{ from: "me", text: "Seeing it. Rolling back the 06:40 deploy now." },
]}
/>
}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string } | – | Eyebrow at the top of the panel, retoned for the dark surface |
heading | string | – | Section heading on the panel |
description | string | – | Supporting paragraph, capped at max-w-md |
promises | PromiseItem[] | [] | Hairline rows about who answers and when |
buttons | ActionLink[] | [] | Actions, first solid and the rest outlined |
media | ReactNode | – | Live asset in the right column, chat33 in the demo |
className | string | – | Extra classes for the outer section |
type ActionLink = {
label: string;
href: string;
};
type PromiseItem = {
title: string;
description: string;
};bg-foreground inside the normal page container, so it reads as an inverted card rather than a full-bleed band. Every text token inside is a fixed background value, since the surface is fixed.Badge23 is retoned inline with border-background/30 text-background/70, since the component's own tones assume a light surface.border-background/20 rather than border-border. On an inverted surface the standard border token is close to invisible.primary, later ones are outline plus an added border-background/30 so they read against the dark panel.lg:grid-cols-5 split, three columns of copy against two of media. Below lg it stacks and the divider flips from lg:border-l to border-t, so the seam always runs across the join.PromiseItem is named rather than being called Promise, since that would shadow the global Promise type inside the installed file.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.
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.
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.