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

    506
  • Contact with Globe

    Contact with Globe

    471
  • Hero Section with Cards

    Hero Section with Cards

    237
  • FAQ Accordion

    FAQ Accordion

    207
  • Logo Cloud Marquee

    Logo Cloud Marquee

    188
  • Testimonials Vertical Marquee

    Testimonials Vertical Marquee

    119
  • Testimonials Marquee

    Testimonials Marquee

    117
  • Hero With Pixel Background

    Hero With Pixel Background

    116

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