Anmoldeep Singh

Map

Navigation 21

About

Here is map component

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

import { Map, MapControls } from "@/components/ui/map";

export default function MapControlsExample() {
  return (
    <div className="h-[400px] w-full">
      <Map center={[2.3522, 48.8566]} zoom={11}>
        <MapControls
          position="bottom-right"
          showZoom
          showCompass
          showLocate
          showFullscreen
        />
      </Map>
    </div>
  );
}

Dependencies

More by Anmoldeep Singh

View all
  • MarkerPopup

    MarkerPopup

    414
  • MapArc

    MapArc

    284
  • MarkerTooltip

    MarkerTooltip

    229
  • LayerMarkers

    LayerMarkers

    134
  • MarkerLabel

    MarkerLabel

    121
  • MarkerContent

    MarkerContent

    97
  • MapMarker

    MapMarker

    80
  • MapControls

    MapControls

    55

More in Navigation

View all
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    29
  • Footer with Big Wordmark

    Footer with Big Wordmark

    29
  • Sidebar

    Sidebar

    388
  • Pagination

    Pagination

    107
  • Oversized 404 Numeral

    Oversized 404 Numeral

    76
  • Footer

    Footer

    88
  • Astryx Breadcrumb Item

    Astryx Breadcrumb Item

    2
  • Menu

    Menu

    22