Lucas

Hairline Riffle

Cards 211

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

    132
  • Basket Figure

    Basket Figure

    111
  • Hairline Terrain

    Hairline Terrain

    93
  • Hairline Slow

    Hairline Slow

    81
  • Padlock

    Padlock

    80
  • Hairline Drawer

    Hairline Drawer

    78
  • Hairline Terminal

    Hairline Terminal

    70
  • Isometric Elevator

    Isometric Elevator

    53

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    46
  • Course Design Cards

    Course Design Cards

    1.3K
  • Liquid Glass Card

    Liquid Glass Card

    202
  • Statistics Card 2

    Statistics Card 2

    321
  • Card Studio

    Card Studio

    37
  • Astryx Clickable Card

    Astryx Clickable Card

    1
  • Admin Dashboard Cards

    Admin Dashboard Cards

    40
  • Statistics Card 10

    Statistics Card 10

    307