tom

Tilt Card

Cards 900

About

Interactive 3D tilt card with perspective hover effect and spotlight.

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

Code

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

Usage.tsx

"use client";

import { TiltCard } from "@/components/ui/tilt-card";

function Demo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center overflow-hidden bg-background p-8">
      <TiltCard className="w-[340px] rounded-3xl border bg-card p-7 shadow-2xl">
        <div className="relative z-20">
          <div className="mb-16 flex items-center justify-between">
            <span className="rounded-full bg-foreground px-3 py-1 text-xs font-medium text-background">
              Interactive
            </span>
            <span className="text-sm text-muted-foreground">3D hover</span>
          </div>
          <h3 className="text-3xl font-semibold tracking-tight">Tilt Card</h3>
          <p className="mt-3 text-sm leading-6 text-muted-foreground">
            Move the cursor across the card to bend perspective and reveal the
            spotlight.
          </p>
        </div>
      </TiltCard>
    </div>
  );
}


export default { Demo };

More by tom

View all
  • Shimmer Text

    Shimmer Text

    1.1K
  • Special Text

    Special Text

    1.1K
  • Animated Gradient

    Animated Gradient

    1.1K
  • Marquee

    Marquee

    795
  • Text Marquee

    Text Marquee

    752
  • QR Code

    QR Code

    475
  • Animated Checkbox

    Animated Checkbox

    392
  • Blur Reveal

    Blur Reveal

    359

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Card Studio

    Card Studio

    11
  • Statistics Card 2

    Statistics Card 2

    304
  • Statistics Card 7

    Statistics Card 7

    326
  • Card

    Card

    18
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    604
  • Card

    Card

    59
  • Stats cards with links

    Stats cards with links

    95