Installation
Preview
Source
Adapted from slev12397/beautiful-ui under the MIT License. Commercial icons were replaced and demo analytics were removed; attribution remains bundled with the component foundation.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| activeTitle | string | null | — | Controlled active chat title. |
| activeNav | string | — | Controlled primary navigation key. |
| recents | SidebarRecent[] | — | Recent chat entries. |
| fill | boolean | false | Fills available height. |
| footerLabel | string | "Upgrade" | Footer CTA label. |
| onNavigate | (key: string) => void | — | Handles navigation. |
| onPick | (id: string, label: string, prompt?: string) => void | — | Handles a recent chat selection. |