About
Tooltip.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Context Card to your project and fits it to your theme.
Code
How Context Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ContextCard } from "@/components/ui/context-card-1";
export default function DefaultDemo() {
return (
<div className="flex justify-between gap-4">
<ContextCard.Trigger
content="The Evil Rabbit Jumped over the Fence"
side="top"
>
<span className="dark:text-white">Top</span>
</ContextCard.Trigger>
<ContextCard.Trigger
content="The Evil Rabbit Jumped over the Fence"
side="bottom"
>
<span className="dark:text-white">Bottom</span>
</ContextCard.Trigger>
<ContextCard.Trigger
content="The Evil Rabbit Jumped over the Fence"
side="left"
>
<span className="dark:text-white">Left</span>
</ContextCard.Trigger>
<ContextCard.Trigger
content="The Evil Rabbit Jumped over the Fence"
side="right"
>
<span className="dark:text-white">Right</span>
</ContextCard.Trigger>
</div>
);
}
















