Arihant jain

Conversation List

Navigation 16

About

A date-grouped conversation sidebar for chat/AI apps that lets users switch between threads and pin favorites.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Conversation List to your project and fits it to your theme.

Code

How Conversation List is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import {
  ConversationList,
  type ConversationEntry,
} from "@/components/ui/conversation-list";

const conversations: ConversationEntry[] = [
  { id: "1", title: "Roadmap brainstorm", group: "Today", pinned: true },
  { id: "2", title: "Bug triage notes", group: "Today" },
  { id: "3", title: "Marketing copy draft", group: "Yesterday" },
  { id: "4", title: "Onboarding flow ideas", group: "Yesterday" },
  { id: "5", title: "Pricing page rewrite", group: "Previous 7 Days" },
  { id: "6", title: "API design discussion", group: "Previous 7 Days" },
];

export default function ConversationListDemo() {
  return (
    <div className="flex w-full items-center justify-center p-8">
      <ConversationList conversations={conversations} />
    </div>
  );
}

Dependencies

More by Arihant jain

View all
  • Footer section

    Footer section

    1.9K
  • Multistep Form

    Multistep Form

    714
  • Animated Drawer

    Animated Drawer

    695
  • Status Badge

    Status Badge

    521
  • Stacked Circular Footer

    Stacked Circular Footer

    429
  • Input Modal

    Input Modal

    335
  • Large Name Footer

    Large Name Footer

    200
  • Profile Dropdown

    Profile Dropdown

    197

More in Navigation

View all
  • Sidebar

    Sidebar

    296
  • Progress Bar Stepper

    Progress Bar Stepper

    44
  • Tabs

    Tabs

    16
  • Navbar

    Navbar

    1
  • Breadcrumb

    Breadcrumb

    103
  • Capsule Tabs

    Capsule Tabs

    21
  • Pagination

    Pagination

    27
  • Pagination with Ellipsis

    Pagination with Ellipsis

    18

Explore more

Part of Spectrum UI — browse the full library on 21st.dev.