lucasmarkes

Hub

Component 10

About

An isometric hub-and-tiles illustration where the tile nearest the pointer rises and links back to the hub with a solid line, used as an animated connectivity/network diagram.

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

Code

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

Usage.tsx

import Hub from "@/components/ui/hub";

export default function HubDemo() {
  return (
    <div className="w-full h-screen bg-background">
      <Hub play className="w-full h-full" style={{ aspectRatio: "auto" }} />
    </div>
  );
}

Dependencies

More by lucasmarkes

View all
  • Hairline Riffle

    Hairline Riffle

    121
  • 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
  • Vault

    Vault

    30