scrollxui

Lean Card

Cards

About

A stacked card that reveals a striped back card behind it on hover, useful for feature highlights or product cards with a playful lean effect.

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

Code

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

Usage.tsx

import { LeanCard, LeanCardContent } from "@/components/ui/lean-card";

export default function LeanCardDemo() {
  return (
    <div className="flex items-center justify-center w-full min-h-[400px]">
      <LeanCard>
        <LeanCardContent>
          <p>Your content here.</p>
        </LeanCardContent>
      </LeanCard>
    </div>
  );
}

More by scrollxui

View all
  • Features With Panel

    Features With Panel

    517
  • Contact with Globe

    Contact with Globe

    486
  • Hero Section with Cards

    Hero Section with Cards

    247
  • FAQ Accordion

    FAQ Accordion

    214
  • Logo Cloud Marquee

    Logo Cloud Marquee

    193
  • Testimonials Vertical Marquee

    Testimonials Vertical Marquee

    125
  • Testimonials Marquee

    Testimonials Marquee

    123
  • Hero With Pixel Background

    Hero With Pixel Background

    119

More in Cards

View all
  • Astryx Clickable Card

    Astryx Clickable Card

    1
  • Course Design Cards

    Course Design Cards

    1.3K
  • Weather Card

    Weather Card

    68
  • Stats cards with links

    Stats cards with links

    102
  • Approval Card

    Approval Card

    35
  • Statistics Card 2

    Statistics Card 2

    314
  • Liquid Glass Card

    Liquid Glass Card

    200
  • Card Studio

    Card Studio

    38