# Visitor Map Card

https://fieldbook.lizardi.mx/components/visitor-map-stat-card

Category: Data display
![Still of the Visitor Map Card component, a Fieldbook UI component in Data display.](https://fieldbook.lizardi.mx/thumbs/visitor-map-stat-card.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/visitor-map-stat-card-93d7069a42.mp4 (5 s, silent)

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.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| 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 |

## Usage notes

Visitor Map Card uses the wide preview frame with a light/dark theme setting.

### 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.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "visitor-map-stat-card",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Animated metric counter](https://fieldbook.lizardi.mx/components/animated-metric-counter)
- [Counting number readout](https://fieldbook.lizardi.mx/components/counting-number-readout)
- [Before/After Code Diff](https://fieldbook.lizardi.mx/components/before-after-code-diff)
- [Billing Ledger Table](https://fieldbook.lizardi.mx/components/billing-ledger-table)
- [Concentric goal rings](https://fieldbook.lizardi.mx/components/concentric-goal-rings)
- [Credit balance ledger](https://fieldbook.lizardi.mx/components/credit-balance-ledger)
