theshanelevine

Context Cards

AI chats

About

A stack of retrieved knowledge chunk cards that animate in, each showing a title, character count, snippet, and a source file chip.

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

Code

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

Usage.tsx

import ContextCards from "@/components/ui/context-cards";

export default function Default() {
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center bg-canvas p-6">
      <ContextCards />
    </div>
  );
}

More by theshanelevine

View all
  • Loading State

    Loading State

    1K
  • Streaming Text

    Streaming Text

    531
  • Thinking

    Thinking

    175
  • Records Table

    Records Table

    133
  • Approval Card

    Approval Card

    89
  • Chat Panel

    Chat Panel

    41
  • Recommendation Card

    Recommendation Card

    4
  • Code Block

    Code Block

    2

More in AI chats

View all
  • AI Actions

    AI Actions

    352
  • Aquarium Prompt

    Aquarium Prompt

    115
  • Research Report

    Research Report

    7
  • Agent Chat

    Agent Chat

    21
  • Message With Header And Delivery Status

    Message With Header And Delivery Status

    62
  • Tool Web Fetch

    Tool Web Fetch

    4
  • Color Picker

    Color Picker

    204
  • Suggestions

    Suggestions

    40