Arihant jain

Conversation List

Navigation 13

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

    698
  • Animated Drawer

    Animated Drawer

    686
  • Status Badge

    Status Badge

    495
  • Stacked Circular Footer

    Stacked Circular Footer

    413
  • Input Modal

    Input Modal

    316
  • Large Name Footer

    Large Name Footer

    193
  • Profile Dropdown

    Profile Dropdown

    187

More in Navigation

View all
  • Sidebar

    Sidebar

    234
  • Tabs

    Tabs

    60
  • Newsletter Signup Footer

    Newsletter Signup Footer

    16
  • Progress Bar Stepper

    Progress Bar Stepper

    36
  • Footer 2

    Footer 2

    201
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    43
  • Navbar

    Navbar

    71
  • Pagination

    Pagination

    86

Explore more

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