Loading component…
Loading component…
This component has not been implemented locally yet.
To reuse this local React demo, copy all files from the Code tab into the same folder, then import AIChat/Overview from ./assistant-overview.
import { AssistantOverviewScreen } from "@/components/ui/assistant-overview";
export default function Page() {
return <AssistantOverviewScreen workspace="Acme" user={{ name: "Alex Morgan" }} onNavigate={(label) => router.push(routes[label])} />;
}| Name | Type | Default | Description |
|---|---|---|---|
| onNavigate | (label: string) => void | Called with the label of a sidebar item – and with Chat or Folders from the cards' rows and their “N more” | |
| workspace | string | "Acme" | Workspace name in the sidebar |
| user | { name: string; avatar?: string } | { name: "Alex Morgan" } | Account at the bottom of the sidebar |
| loading | boolean | While your data loads: the board under the composer shows gray placeholders in the shape of the real activity, chats, usage, files and numbers | |
| empty | boolean | A new workspace: the composer stays, the board under it gives way to one empty state – “Nothing here yet”, a line on what shows up here and a Start a chat button that puts the cursor in the composer | |
| className | string | Extra class on the root |
Four columns under the composer: activity and recent chats on top, usage, files and this month below
Narrower, two columns – the wide cards stay wide; on a phone they stack; the activity grid always fills its card
Dark mode built in: switches when an ancestor (usually <html>) has the class dark or data-theme="dark"