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/Start from ./assistant-home.
import { AssistantHomeScreen } from "@/components/ui/assistant-home";
export default function Page() {
return <AssistantHomeScreen 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 or project | |
| 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 quick prompts and the connected apps in the composer's tray show gray placeholders in the shape of the real ones (the shared Skeleton), so nothing jumps when the data lands; the composer stays and sending waits | |
| className | string | Extra class on the root |
Fills its container – give it the full viewport height in your app
Suggested in a New tab opens the sample artifacts – the launch checklist and the naming guide as documents, the launch budget as a sheet with formulas – in their own tab
Dark mode built in: switches when an ancestor (usually <html>) has the class dark or data-theme="dark"; colors are CSS variables on .ui-as