Shaswat Raj

Optimized Tilt Card

Cards 74

About

High-performance 3D parallax tilt card with desktop hover, touch hold for mobile, and dynamic pointer light sheen.

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

Code

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

Usage.tsx

"use client";

import React from "react";
import OptimizedTiltCard from "@/components/ui/optimized-tilt-card";

export default function OptimizedTiltCardDemo() {
  return (
    <div className="flex min-h-[420px] w-full items-center justify-center bg-zinc-950 p-8">
      <OptimizedTiltCard className="w-80 rounded-2xl border border-zinc-800 bg-zinc-900/90 p-6 shadow-2xl backdrop-blur-xl">
        <div className="flex flex-col gap-4">
          <div className="h-40 w-full rounded-xl bg-gradient-to-tr from-violet-600 via-indigo-600 to-cyan-400 p-4 flex items-end">
            <span className="text-xs font-mono font-semibold uppercase tracking-wider text-white/90 bg-black/40 px-2.5 py-1 rounded-md backdrop-blur-md">
              Interactive 3D
            </span>
          </div>
          <div>
            <h3 className="text-lg font-bold text-zinc-100">
              Parallax Tilt Card
            </h3>
            <p className="mt-1 text-sm text-zinc-400">
              Smooth hardware-accelerated 60fps tilt with mobile touch hold and dynamic pointer light sheen.
            </p>
          </div>
          <div className="flex items-center justify-between pt-2 border-t border-zinc-800/80">
            <span className="text-xs text-zinc-500 font-mono">0.35s Cubic Ease</span>
            <span className="text-xs font-medium text-violet-400">Hover or Touch</span>
          </div>
        </div>
      </OptimizedTiltCard>
    </div>
  );
}

More by Shaswat Raj

View all
  • Admit One 3D Holographic Ticket

    Admit One 3D Holographic Ticket

    92
  • Voxel Story Video Card

    Voxel Story Video Card

    61
  • Voxel Video Streak Card

    Voxel Video Streak Card

    47
  • Curved Text Loop

    Curved Text Loop

    42
  • Studiova Interactive Services Tabs

    Studiova Interactive Services Tabs

    32
  • Studiova Agency Metrics Grid

    Studiova Agency Metrics Grid

    24
  • Studiova Luxury Pricing Table

    Studiova Luxury Pricing Table

    12
  • Cyberpunk HUD Radar

    Cyberpunk HUD Radar

    7

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    39
  • Statistics Card 2

    Statistics Card 2

    260
  • Course Design Cards

    Course Design Cards

    1.1K
  • The Item one

    The Item one

    3
  • Card

    Card

    70
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    289
  • Card

    Card

    17