All templates
Marker and popup
Put an accessible marker on the map and open a popup when it is clicked.
Map + marker · Calgary
ExampleSample data on real Canadian places. The preview runs on unmap's demo key.
Add it with the unmap CLI
Installs the component, any sample data it ships and the shadcn components it uses. React projects only; in a Vue project it stops before changing anything.
Add to your React app
For React apps with shadcn and Base UI already set up. The CLI adds the required components and packages.
Render the component
What it includes
- Built on marker-popup
- A shadcn Button as the marker
Example
One registry item on a real Canadian place, ready to copy into a React app.