Lucas

Hairline Riffle

Cards 193

About

An isometric SVG illustration of a tray of eight cards where hovering or pressing the arrow keys pulls the card under the pointer forward and lifts it, while the cards around it lean away in a staggered ripple.

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

Code

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

Usage.tsx

import Riffle from "@/components/ui/hairline-riffle";

export default function RiffleDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-10">
      <div className="w-full max-w-xl text-foreground">
        <Riffle aria-label="A tray of eight cards. Hover or use the arrow keys to pull a card." className="w-full" />
      </div>
    </div>
  );
}

More by Lucas

View all
  • Lockers

    Lockers

    110
  • Basket Figure

    Basket Figure

    95
  • Hairline Terrain

    Hairline Terrain

    86
  • Hairline Slow

    Hairline Slow

    77
  • Padlock

    Padlock

    73
  • Hairline Terminal

    Hairline Terminal

    67
  • Hairline Drawer

    Hairline Drawer

    65
  • Isometric Elevator

    Isometric Elevator

    52

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