Jatin Yadav

Expand Map

Cards 2.8K

About

Click on this component to get a clean map street view with some details.

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

Code

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

Usage.tsx

import { LocationMap } from "@/components/ui/expand-map"

export default function Home() {
  return (
    <main className="min-h-screen flex items-center justify-center w-full">
      {/* Subtle background gradient */}
      <div className="fixed inset-0 bg-[radial-gradient(ellipse_at_center,_rgba(52,211,153,0.03)_0%,_transparent_70%)]" />

      <div className="relative z-10 flex flex-col items-center gap-8">
        {/* Optional subtle label */}
        <p className="text-neutral-600 text-xs font-medium tracking-[0.2em] uppercase">Current Location</p>

        <LocationMap location="San Francisco, CA" coordinates="37.7749° N, 122.4194° W" />
      </div>
    </main>
  )
}

Dependencies

More by Jatin Yadav

View all
  • Radial Orbital Timeline

    Radial Orbital Timeline

    7.4K
  • Sign In Card

    Sign In Card

    2.6K
  • Project Showcase

    Project Showcase

    2.2K
  • Etheral Shadow

    Etheral Shadow

    2.1K
  • Vapour Text Effect

    Vapour Text Effect

    2K
  • Animated AI Chat

    Animated AI Chat

    1.6K
  • Vertical Image Stack

    Vertical Image Stack

    1.6K
  • 3D Folder

    3D Folder

    1.5K

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    120
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 2

    Statistics Card 2

    259
  • Card

    Card

    56
  • Card Studio

    Card Studio

    9
  • Statistics Card 7

    Statistics Card 7

    289
  • The Item one

    The Item one

    3
  • Weather Card

    Weather Card

    53