Aurora ChatSidebar
aurora-dinglebear-ai/aurora-chat-sidebarUnverifiedComponent
Aurora ChatSidebar — Claude Design parity.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-chat-sidebar.jsonSource
1"use client"23import * as React from "react"4import { Ellipsis, MessageSquareText, Plus, Search } from "lucide-react"56import { cn } from "@/lib/utils"78// Styles: registry/aurora/styles/aurora-components.css (@layer aurora-components).910/* -------------------------------------------------------------------------- */11/* Types */12/* -------------------------------------------------------------------------- */1314export interface ChatSidebarThread {15 /** Stable identifier used for selection state. */16 id: string17 /** Conversation title shown in the rail. */18 title: React.ReactNode19 /** Bucket label this thread belongs to (e.g. "Today"). Threads are grouped by bucket in source order. */20 bucket: string21 /** Optional plain-text value used for search filtering when `title` is rich markup. */22 searchText?: string23}2425export interface ChatSidebarUser {26 /** Display name shown in the footer. */27 name: React.ReactNode28 /** Initials rendered in the avatar disc. */29 initials: string30 /** Plan / subtitle line under the name. */31 plan?: React.ReactNode32}3334export interface ChatSidebarProps35 extends Omit<React.HTMLAttributes<HTMLElement>, "onSelect"> {36 /** Brand content for the top row (icon + wordmark). */37 brand?: React.ReactNode38 /** Conversation threads, grouped by their `bucket` in first-seen order. */39 threads?: ChatSidebarThread[]40 /** Initially-active thread id (uncontrolled). */41 defaultActiveId?: string42 /** Controlled active thread id. */43 activeId?: string44 /** Fired when a thread is chosen. */45 onSelectThread?: (id: string) => void46 /** Fired when the New chat button is pressed. */47 onNewChat?: () => void48 /** Placeholder for the search input. */49 searchPlaceholder?: string50 /** Controlled search query shown in the search input. */51 searchValue?: string52 /** Initial search query for uncontrolled usage. */53 defaultSearchValue?: string54 /** Fired whenever the search query changes. */55 onSearchValueChange?: (value: string) => void56 /** Optional message rendered when no conversations match the current search. */57 emptyMessage?: React.ReactNode58 /** Footer user descriptor. */59 user?: ChatSidebarUser60 /** Fired when the account menu button is pressed. */61 onOpenAccountMenu?: () => void62}6364/* -------------------------------------------------------------------------- */65/* Component */66// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from aurora
All 176 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Aurora Accordionaurora-accordion | aurora | Components | Unverified | 2 deps | |
| Aurora Alert Dialogaurora-alert-dialog | aurora | Components | Unverified | 2 deps | |
| Aurora Aspect Ratioaurora-aspect-ratio | aurora | Components | Unverified | no deps | |
| Aurora Avataraurora-avatar | aurora | Components | Unverified | 1 dep | |
| Aurora Badgeaurora-badge | aurora | Components | Unverified | 2 deps | |
| Aurora Banneraurora-banner | aurora | Components | Unverified | 1 dep | |
| Aurora Breadcrumbaurora-breadcrumb | aurora | Components | Unverified | 2 deps | |
| Aurora Buttonaurora-button | aurora | Components | Unverified | 2 deps |
