Isaiah

Primitive Card

Cards

About

A themeable card container with header, title, description, content and footer slots, plus subtle hover/press motion for interactive variants.

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

Code

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

Usage.tsx

import BjorkCard, {
  BjorkCardHeader,
  BjorkCardTitle,
  BjorkCardDescription,
  BjorkCardContent,
  BjorkCardFooter,
} from "@/components/ui/primitive-card";

export default function PrimitiveCardDemo() {
  return (
    <div className="flex w-full items-center justify-center bg-[var(--bjork-bg)] p-10">
      <BjorkCard variant="interactive" padding="lg" className="w-full max-w-sm">
        <BjorkCardHeader>
          <BjorkCardTitle>Workspace settings</BjorkCardTitle>
        </BjorkCardHeader>
        <BjorkCardDescription>
          Manage members, billing and integrations for your team from a single
          place.
        </BjorkCardDescription>
        <BjorkCardContent>
          <p className="text-sm text-[color:var(--bjork-text-medium)]">
            Changes are synced instantly across all connected devices.
          </p>
        </BjorkCardContent>
        <BjorkCardFooter>
          <button className="rounded-full bg-[var(--bjork-accent)] px-4 py-1.5 text-sm font-medium text-white">
            Open settings
          </button>
        </BjorkCardFooter>
      </BjorkCard>
    </div>
  );
}

Dependencies

More by Isaiah

View all
  • Agent Plan

    Agent Plan

    2.2K
  • Video Scroll Hero

    Video Scroll Hero

    1.4K
  • Voice Powered Orb

    Voice Powered Orb

    1.3K
  • Reveal Text

    Reveal Text

    1.1K
  • Leads Data Table

    Leads Data Table

    935
  • Portfolio Gallery

    Portfolio Gallery

    922
  • Message Dock

    Message Dock

    833
  • Ruler Carousel

    Ruler Carousel

    617

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    33
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Statistics Card 2

    Statistics Card 2

    264
  • Statistics Card 10

    Statistics Card 10

    263
  • Card

    Card

    17
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3