amankaushik481

Globe

Component

About

A dotted globe drawn on an HTML canvas (no WebGL) that auto-rotates, drags with inertia, supports keyboard control, and shows labelled markers joined by animated arcs.

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

Code

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

Usage.tsx

import { Globe } from "@/components/ui/globe";

export default function GlobeDemo() {
  return (
    <div className="w-full">
      <Globe />
    </div>
  );
}

Dependencies

More by amankaushik481

View all
  • Icon Button

    Icon Button

    14
  • Background Boxes

    Background Boxes

    13
  • Chip Filter

    Chip Filter

    8
  • Typing Text

    Typing Text

    7
  • Treemap Chart

    Treemap Chart

    6
  • File Dropzone

    File Dropzone

    5
  • Emoji Picker

    Emoji Picker

    4
  • Morphing Text

    Morphing Text

    2