Lucas

Relay Hub Diagram

Component 21

About

An interactive isometric diagram of a hub with four branches of tiles that lights up the path to whichever tile the pointer is nearest, hop by hop.

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

Code

How Relay Hub Diagram is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import Relay from "@/components/ui/relay";

export default function RelayDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-8">
      <Relay
        play
        style={{ width: 360 }}
        aria-label="A hub and four branches of tiles"
      />
    </div>
  );
}

More by Lucas

View all
  • Hairline Riffle

    Hairline Riffle

    210
  • Lockers

    Lockers

    132
  • Basket Figure

    Basket Figure

    111
  • Hairline Terrain

    Hairline Terrain

    93
  • Hairline Slow

    Hairline Slow

    81
  • Padlock

    Padlock

    79
  • Hairline Drawer

    Hairline Drawer

    78
  • Hairline Terminal

    Hairline Terminal

    70