Shailendra Kumar

Map

Heroes 1.8K

About

Connect with teams and clients worldwide. Our platform enables seamless collaboration across continents, bringing the world to your workspace.

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

Code

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

Usage.tsx

"use client";
import { WorldMap } from "@/components/ui/map";
import { motion } from "framer-motion";

export default function MapDemo() {
  return (
    <div className=" py-40 dark:bg-black bg-white w-full">
      <div className="max-w-7xl mx-auto text-center">
       <p className="font-bold text-xl md:text-4xl dark:text-white text-black">
          Global{" "}
         Network
        </p>
        <p className="text-sm md:text-lg text-neutral-500 max-w-2xl mx-auto py-4">
          Connect with teams and clients worldwide. Our platform enables seamless 
          collaboration across continents, bringing the world to your workspace.
        </p>
      </div>
      <WorldMap
        dots={[
          {
            start: {
              lat: 64.2008,
              lng: -149.4937,
              label: "Fairbanks"
            },
            end: {
              lat: 34.0522,
              lng: -118.2437,
              label: "Los Angeles"
            },
          },
          {
            start: { 
              lat: 64.2008, 
              lng: -149.4937,
              label: "Fairbanks"
            },
            end: { 
              lat: -15.7975, 
              lng: -47.8919,
              label: "Brasília"
            },
          },
          {
            start: { 
              lat: -15.7975, 
              lng: -47.8919,
              label: "Brasília"
            },
            end: { 
              lat: 38.7223, 
              lng: -9.1393,
              label: "Lisbon"
            },
          },
          {
            start: { 
              lat: 51.5074, 
              lng: -0.1278,
              label: "London"
            },
            end: { 
              lat: 28.6139, 
              lng: 77.209,
              label: "New Delhi"
            },
          },
          {
            start: { 
              lat: 28.6139, 
              lng: 77.209,
              label: "New Delhi"
            },
            end: { 
              lat: 43.1332, 
              lng: 131.9113,
              label: "Vladivostok"
            },
          },
          {
            start: { 
              lat: 28.6139, 
              lng: 77.209,
              label: "New Delhi"
            },
            end: { 
              lat: -1.2921, 
              lng: 36.8219,
              label: "Nairobi"
            },
          },
        ]}
      />
    </div>
  );
}

Dependencies

More by Shailendra Kumar

View all
  • social card

    social card

    783
  • Animated 3D Card

    Animated 3D Card

    595
  • Date Picker

    Date Picker

    189
  • Animated Button

    Animated Button

    137
  • Kanban

    Kanban

    113
  • switch

    switch

    107
  • 404 page not found

    404 page not found

    97
  • Cosmic Plasma Web

    Cosmic Plasma Web

    62

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.7K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Editorial Collage Hero

    Editorial Collage Hero

    504
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero

    Hero

    1.3K
  • Aero Hero-3

    Aero Hero-3

    616
  • Hero 03

    Hero 03

    375
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    442