Arihant jain

Memory Chips

AI chats 6

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

    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 AI chats

View all
  • AI Actions

    AI Actions

    319
  • Agent Chat

    Agent Chat

    17
  • System Message

    System Message

    54
  • Message Thread

    Message Thread

    35
  • Color Picker

    Color Picker

    81
  • AI Task List

    AI Task List

    160
  • Modal Card

    Modal Card

    101
  • Quota Banner

    Quota Banner

    21

Explore more

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