Data display
Visitor Map Card
Visitor Map Card: A wide traffic card built on a coarse tile map of the world, where each region is tinted by its share and hovering swaps the headline to that region.
Using Visitor Map Card
Visitor Map Card uses the wide preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
accentColor | color | #38BDF8 | No additional limit in the metadata. |
cellSize | number | 6 | From 4 to 12; step 1 |
total | number | 148 | From 20 to 5000; step 1 |
trend | number | -3.1 | From -40 to 40; step 0.1 |
title | text | Unique Visitors | Up to 40 characters |
Which frameworks are available for Visitor Map Card?
Visitor Map Card is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Visitor Map Card depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Visitor Map Card?
The React source for Visitor Map Card includes: attributes and handlers (aria-hidden, aria-label, aria-live, onKeyDown, tabIndex); explicit roles (img); key comparisons (ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Escape). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Visitor Map Card handle reduced motion?
Visitor Map Card reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.