theshanelevine

Recommendation Card

AI chats 4

About

An AI agent suggestion card with a confidence meter, an expandable drawer of alternative options, and an accept action.

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

Code

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

Usage.tsx

import RecommendationCard from "@/components/ui/recommendation-card";

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

More by theshanelevine

View all
  • Loading State

    Loading State

    966
  • Streaming Text

    Streaming Text

    503
  • Thinking

    Thinking

    164
  • Records Table

    Records Table

    119
  • Approval Card

    Approval Card

    77
  • Chat Panel

    Chat Panel

    39
  • Code Block

    Code Block

    2
  • Filter Table

    Filter Table

    2

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