Arihant jain

Memory Chips

AI chats 7

About

A panel or row of removable chips showing facts an AI assistant remembers, with add/remove interactions.

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

Code

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

Usage.tsx

import { MemoryChips, type MemoryItem } from "@/components/ui/memory-chips";

const memories: MemoryItem[] = [
  { id: "1", fact: "Prefers TypeScript over JavaScript" },
  { id: "2", fact: "Working on a Next.js SaaS dashboard" },
  { id: "3", fact: "Timezone: IST (UTC+5:30)" },
  { id: "4", fact: "Likes concise, direct answers" },
];

export default function MemoryChipsDemo() {
  return (
    <div className="flex w-full items-center justify-center p-8">
      <MemoryChips memories={memories} onAdd={() => {}} onRemove={() => {}} />
    </div>
  );
}

Dependencies

More by Arihant jain

View all
  • Footer section

    Footer section

    1.9K
  • Multistep Form

    Multistep Form

    710
  • Animated Drawer

    Animated Drawer

    694
  • Status Badge

    Status Badge

    514
  • Stacked Circular Footer

    Stacked Circular Footer

    426
  • Input Modal

    Input Modal

    330
  • Large Name Footer

    Large Name Footer

    199
  • Profile Dropdown

    Profile Dropdown

    196

More in AI chats

View all
  • AI Actions

    AI Actions

    326
  • Agent Chat

    Agent Chat

    18
  • Message Thread

    Message Thread

    45
  • System Message

    System Message

    58
  • Color Picker

    Color Picker

    110
  • Attachments

    Attachments

    22
  • Environment Variables

    Environment Variables

    14
  • AI Diff

    AI Diff

    74

Explore more

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