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>
);
}
















