Measured entry
magicui-dotted-map
A React SVG world map rendered from sampled dots, with latitude and longitude markers, optional pulse rings, staggered rows, and a custom marker overlay hook. It ships as a shadcn registry component, depends on svg-dotted-map, and imports the usual cn utility plus utility-class styling.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 42.2 KB (107.6 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 3.11s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/dotted-map.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A capable decorative locator map with useful marker hooks, clean responsive behavior, and no observed accessibility violations. It needs a shadcn-style setup out of the box because the bare project cannot resolve its shared cn utility; choose it when the marker API earns the dependency cost.
Use it if
- You need a responsive decorative world map with a small set of location markers.
- You want marker pulses or custom React overlays without bringing in an interactive mapping SDK.
- Your app already uses a shadcn-style source layout and can absorb the svg-dotted-map dependency.
Skip it if
- You need zooming, panning, geographic labels, tooltips, or accurate map interaction.
- A static image or simpler inline SVG would better justify the added dependency and bundle cost.
- You need the map itself to communicate accessible data rather than serve as decorative context.
- Your project cannot provide the expected path alias and cn utility.
Install
| Declared dependencies | svg-dotted-map |
|---|---|
| Missing on install | svg-dotted-map |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
Install svg-dotted-map, add a cn class-merging utility at the imported lib path, and configure the matching source alias. If the project does not use utility classes, replace the built-in text color classes with local CSS or direct SVG styling.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/magicuidesign/magicuiAlternatives
Other published entries for the globe-viz pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- magicui-globeunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 27.5KB
- Bare
- fail
- Prov
- NO
- 8bitcn-timeline3skeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 32.8KB
- Bare
- fail
- Prov
- NO
- ruixen-deploy-region-globespatial
- Renders
- YES
- A11y
- 4
- Gzip
- 35.7KB
- Bare
- fail
- Prov
- NO