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

    207
  • LayerMarkers

    LayerMarkers

    134
  • MarkerLabel

    MarkerLabel

    111
  • MarkerContent

    MarkerContent

    82
  • MapMarker

    MapMarker

    80
  • MapControls

    MapControls

    55

More in Navigation

View all
  • Sidebar

    Sidebar

    287
  • Navbar

    Navbar

    1
  • Tabs

    Tabs

    15
  • Sidebar

    Sidebar

    348
  • Numberless Pagination with Text

    Numberless Pagination with Text

    11
  • Pagination

    Pagination

    108
  • Oversized 404 Numeral

    Oversized 404 Numeral

    57
  • Breadrcrumb

    Breadrcrumb

    4