lucasmarkes

Hairline Riffle

Cards 122

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

    59
  • Padlock

    Padlock

    50
  • Hairline Terminal

    Hairline Terminal

    46
  • Isometric Elevator

    Isometric Elevator

    44
  • Hairline Slow

    Hairline Slow

    43
  • Hairline Turntable

    Hairline Turntable

    37
  • Hairline Sieve

    Hairline Sieve

    31
  • Vault

    Vault

    30

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    39
  • Statistics Card 2

    Statistics Card 2

    261
  • Course Design Cards

    Course Design Cards

    1.1K
  • The Item one

    The Item one

    3
  • Card

    Card

    70
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    289
  • Card

    Card

    17