Measured entry

magicui-dotted-map

globe-vizspatial

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.

Specimen
Harness screenshot of magicui-dotted-map at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of magicui-dotted-map at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of magicui-dotted-map at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

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.

Harness measurements recorded for magicui-dotted-map
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal42.2 KB (107.6 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for magicui-dotted-map
Declared dependenciessvg-dotted-map
Missing on installsvg-dotted-map
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno 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.

License
MIT
Record published
2026-08-13

Alternatives

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.