tigran tumasov

Context Card

Cards 7

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>
  );
}

Dependencies

More by tigran tumasov

View all
  • Product Hunt Badge

    Product Hunt Badge

    2K
  • Book

    Book

    189
  • Calendar

    Calendar

    157
  • Theme Switcher

    Theme Switcher

    143
  • Table

    Table

    125
  • Snippet

    Snippet

    125
  • Toggle

    Toggle

    101
  • Feedback

    Feedback

    95

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198