lucasmarkes

Hairline Riffle

Cards 127

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 lucasmarkes

View all
  • Hairline Terrain

    Hairline Terrain

    60
  • Padlock

    Padlock

    51
  • Hairline Terminal

    Hairline Terminal

    47
  • Isometric Elevator

    Isometric Elevator

    44
  • Hairline Slow

    Hairline Slow

    44
  • Hairline Turntable

    Hairline Turntable

    38
  • Hairline Sieve

    Hairline Sieve

    32
  • Vault

    Vault

    31

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    33
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Statistics Card 2

    Statistics Card 2

    264
  • Statistics Card 10

    Statistics Card 10

    263
  • Card

    Card

    17
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3