# shadcnmaps — Full Documentation > Interactive SVG map components for React. No dependencies, pure Tailwind. --- # Getting Started ## Prerequisites - React 18+ project with Tailwind CSS v4 - [shadcn/ui](https://ui.shadcn.com) configured in your project ## Installation Install a map using the shadcn CLI. Here we'll use the USA map as an example, but the same command works for [any map](/maps). This pulls the component directly into your project — no npm package, no version lock. ```bash npx shadcn@latest add @shadcnmaps/usa ``` This installs the following files: | File | Description | | --------------------------------------- | ------------------------------------ | | `components/shadcnmaps/map.tsx` | Core SVG renderer | | `components/shadcnmaps/map-context.tsx` | Shared state context | | `components/shadcnmaps/map-region.tsx` | Individual region (path) | | `components/shadcnmaps/map-tooltip.tsx` | Hover/click tooltip | | `components/shadcnmaps/map-marker.tsx` | SVG marker overlay | | `components/shadcnmaps/map-listbox.tsx` | Accessible keyboard listbox | | `components/shadcnmaps/types.ts` | Shared TypeScript types | | `components/shadcnmaps/maps/usa.tsx` | `USAMap` component | | `components/shadcnmaps/map-data/usa.ts` | SVG path data for all 50 states + DC | ## Basic usage ```tsx import { USAMap } from '@/components/shadcnmaps/maps/usa' export default function Page() { return } ``` That's it. The map is interactive out of the box — hover states, tooltips, and full keyboard navigation are included by default. ## Build a state selector This example builds a clickable state selector that highlights the selected state and shows a tooltip with the state name. ```tsx 'use client' import { useState } from 'react' import { USAMap, type RegionId } from '@/components/shadcnmaps/maps/usa' export function StatePicker() { const [selected, setSelected] = useState(null) return (

{selected ? `Selected: ${selected}` : 'Click a state'}

setSelected((prev) => prev === region.id ? null : (region.id as RegionId) ) } />
) } ``` ### Keyboard navigation The map is fully keyboard accessible — no extra setup needed. Tab to focus the map, then use arrow keys to navigate between states, Enter/Space to select, and Escape to clear. ## Next steps - [Theming](/overview/theming) — customize colors with CSS variables - [USA Map](/maps/usa) — full props reference and examples --- # API Reference All map components share a common set of props inherited from the core `Map` component. Each map may also expose map-specific props documented on its own page. ## Map Props | Prop | Type | Default | Description | |------|------|---------|-------------| | `selectedRegion` | `string | null` | — | Controlled selected region ID. When set, the map does not manage selection internally — the parent owns the state. | | `regions` | `RegionOverride[]` | `[]` | Per-region overrides for className, tooltipContent, disabled, and display fields. | | `disabledRegions` | `string[]` | `[]` | Region IDs to mark as non-interactive. | | `onRegionClick` | `(event: RegionEvent) => void` | — | Fired on click or keyboard Enter/Space. | | `onRegionEnter` | `(event: RegionEvent) => void` | — | Fired on mouse enter or focus. | | `onRegionLeave` | `(event: RegionEvent) => void` | — | Fired on mouse leave or blur. | | `onMarkerClick` | `(event: MarkerEvent) => void` | — | Fired when a marker is clicked. | | `markers` | `MapMarkerData[]` | `[]` | SVG markers to overlay on the map. | | `renderTooltip` | `(region: MapRegionData) => ReactNode` | — | Custom tooltip renderer. Falls back to region name. | | `showLabels` | `boolean` | `true` | Show abbreviation labels inside each region. | | `showTooltips` | `boolean` | `true` | Enable tooltip on hover and click. | | `className` | `string` | — | Class applied to the root SVG element. | | `aria-label` | `string` | `Map name` | Accessible label for the map. | | `enableZoom` | `boolean` | `false` | Enable zoom and pan gestures (wheel, drag, pinch). | | `zoomConfig` | `Partial` | — | Override default zoom configuration. See Zoom & Pan docs. | | `controls` | `ReactNode` | — | Control overlay rendered inside the map container (e.g. MapControls). | ## Types ### RegionEvent ```typescript interface RegionEvent { region: MapRegionData nativeEvent: MouseEvent | TouchEvent | FocusEvent | KeyboardEvent } ``` ### MarkerEvent ```typescript interface MarkerEvent { id: string nativeEvent: MouseEvent | TouchEvent | FocusEvent | KeyboardEvent } ``` ### RegionOverride ```typescript interface RegionOverride { id: string name?: string abbreviation?: string labelX?: number labelY?: number metadata?: Record className?: string labelClassName?: string tooltipContent?: ReactNode disabled?: boolean } ``` ### MapRegionData ```typescript interface MapRegionData { id: string name: string path: string abbreviation?: string labelX?: number labelY?: number metadata?: Record } ``` ### MapMarkerData ```typescript interface MapMarkerData { id: string x: number y: number content: ReactNode tooltipContent?: ReactNode label?: string disabled?: boolean } ``` --- # Theming All map colors are driven by CSS variables, registered as Tailwind theme colors. Override them globally in your CSS or inline per-component via `className`. ## CSS variables These variables are injected into your project when you install any map component. ### Region colors | Variable | Tailwind class | Description | | --- | --- | --- | | `--map-region` | `fill-map-region` | Default region fill | | `--map-region-hover` | `fill-map-region-hover` | Fill on hover | | `--map-region-selected` | `fill-map-region-selected` | Fill when selected | | `--map-region-disabled` | `fill-map-region-disabled` | Fill when disabled | ### Stroke colors | Variable | Tailwind class | Description | | --- | --- | --- | | `--map-region-stroke` | `stroke-map-region-stroke` | Default border between regions | | `--map-region-stroke-hover` | `stroke-map-region-stroke-hover` | Border on hover | | `--map-region-focus-ring` | `stroke-map-region-focus-ring` | Keyboard focus ring color | ### Label colors | Variable | Tailwind class | Description | | --- | --- | --- | | `--map-label` | `text-map-label` | Abbreviation label color | | `--map-label-hover` | — | Label color on hover | | `--map-label-selected` | — | Label color when selected | ## Override globally Add overrides to your `globals.css` after the shadcn import: ```css :root { --map-region: oklch(60% 0.15 145); --map-region-hover: oklch(50% 0.18 145); --map-region-selected: oklch(45% 0.22 145); } ``` ## Dark mode Dark mode values are included by default. Override them in the `.dark` selector: ```css .dark { --map-region: oklch(55% 0.12 145); } ``` ## Per-region colors Pass any Tailwind color class to a region via the `regions` prop: ```tsx ``` ## Choropleth pattern For data-driven coloring, compute `className` dynamically: ```tsx const regions = data.map(({ id, value }) => ({ id, className: value > threshold ? 'fill-blue-600' : 'fill-blue-200', })) ``` --- ## Maps - [Africa Map](https://shadcnmaps.com/llms/africa.md): Interactive SVG map of Africa with 55 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Alabama Map](https://shadcnmaps.com/llms/alabama.md): Interactive SVG map of Alabama with 67 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Alaska Map](https://shadcnmaps.com/llms/alaska.md): Interactive SVG map of Alaska with 29 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Algeria Map](https://shadcnmaps.com/llms/algeria.md): Interactive SVG map of Algeria with 48 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Angola Map](https://shadcnmaps.com/llms/angola.md): Interactive SVG map of Angola with 18 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Argentina Map](https://shadcnmaps.com/llms/argentina.md): Interactive SVG map of Argentina with 24 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Arizona Map](https://shadcnmaps.com/llms/arizona.md): Interactive SVG map of Arizona with 15 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Arkansas Map](https://shadcnmaps.com/llms/arkansas.md): Interactive SVG map of Arkansas with 75 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Asia Map](https://shadcnmaps.com/llms/asia.md): Interactive SVG map of Asia with 53 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Australia Map](https://shadcnmaps.com/llms/australia.md): Interactive SVG map of Australia with 8 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Austria Map](https://shadcnmaps.com/llms/austria.md): Interactive SVG map of Austria with 9 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Azerbaijan Map](https://shadcnmaps.com/llms/azerbaijan.md): Interactive SVG map of Azerbaijan with 78 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Bahrain Map](https://shadcnmaps.com/llms/bahrain.md): Interactive SVG map of Bahrain with 5 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Bangladesh Map](https://shadcnmaps.com/llms/bangladesh.md): Interactive SVG map of Bangladesh with 7 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Belarus Map](https://shadcnmaps.com/llms/belarus.md): Interactive SVG map of Belarus with 7 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Belgium Map](https://shadcnmaps.com/llms/belgium.md): Interactive SVG map of Belgium with 11 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Bolivia Map](https://shadcnmaps.com/llms/bolivia.md): Interactive SVG map of Bolivia with 9 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Brazil Map](https://shadcnmaps.com/llms/brazil.md): Interactive SVG map of Brazil with 27 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Bulgaria Map](https://shadcnmaps.com/llms/bulgaria.md): Interactive SVG map of Bulgaria with 28 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [California Map](https://shadcnmaps.com/llms/california.md): Interactive SVG map of California with 58 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Cameroon Map](https://shadcnmaps.com/llms/cameroon.md): Interactive SVG map of Cameroon with 10 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Canada Map](https://shadcnmaps.com/llms/canada.md): Interactive SVG map of Canada with 13 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Caribbean Map](https://shadcnmaps.com/llms/caribbean.md): Interactive SVG map of Caribbean with 35 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Central America Map](https://shadcnmaps.com/llms/central-america.md): Interactive SVG map of Central America with 7 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [China Map](https://shadcnmaps.com/llms/china.md): Interactive SVG map of China with 32 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Colombia Map](https://shadcnmaps.com/llms/colombia.md): Interactive SVG map of Colombia with 33 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Colorado Map](https://shadcnmaps.com/llms/colorado.md): Interactive SVG map of Colorado with 64 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Connecticut Map](https://shadcnmaps.com/llms/connecticut.md): Interactive SVG map of Connecticut with 8 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Continents Map](https://shadcnmaps.com/llms/continents.md): Interactive SVG map of Continents with 6 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Costa Rica Map](https://shadcnmaps.com/llms/costa-rica.md): Interactive SVG map of Costa Rica with 7 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Côte d'Ivoire Map](https://shadcnmaps.com/llms/cote-ivoire.md): Interactive SVG map of Côte d'Ivoire with 19 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Croatia Map](https://shadcnmaps.com/llms/croatia.md): Interactive SVG map of Croatia with 21 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Cuba Map](https://shadcnmaps.com/llms/cuba.md): Interactive SVG map of Cuba with 16 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Czech Republic Map](https://shadcnmaps.com/llms/czech-republic.md): Interactive SVG map of Czech Republic with 14 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Delaware Map](https://shadcnmaps.com/llms/delaware.md): Interactive SVG map of Delaware with 3 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Democratic Republic of the Congo Map](https://shadcnmaps.com/llms/democratic-republic-congo.md): Interactive SVG map of Democratic Republic of the Congo with 11 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Denmark Map](https://shadcnmaps.com/llms/denmark.md): Interactive SVG map of Denmark with 98 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Dominican Republic Map](https://shadcnmaps.com/llms/dominican-republic.md): Interactive SVG map of Dominican Republic with 32 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Ecuador Map](https://shadcnmaps.com/llms/ecuador.md): Interactive SVG map of Ecuador with 24 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Egypt Map](https://shadcnmaps.com/llms/egypt.md): Interactive SVG map of Egypt with 27 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [El Salvador Map](https://shadcnmaps.com/llms/el-salvador.md): Interactive SVG map of El Salvador with 14 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Estonia Map](https://shadcnmaps.com/llms/estonia.md): Interactive SVG map of Estonia with 15 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Ethiopia Map](https://shadcnmaps.com/llms/ethiopia.md): Interactive SVG map of Ethiopia with 11 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Europe Map](https://shadcnmaps.com/llms/europe.md): Interactive SVG map of Europe with 62 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [European Union Map](https://shadcnmaps.com/llms/european-union.md): Interactive SVG map of European Union with 28 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Finland Map](https://shadcnmaps.com/llms/finland.md): Interactive SVG map of Finland with 18 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Florida Map](https://shadcnmaps.com/llms/florida.md): Interactive SVG map of Florida with 67 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [France Map](https://shadcnmaps.com/llms/france.md): Interactive SVG map of France with 13 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [France Départements](https://shadcnmaps.com/llms/france-departements.md): Interactive SVG map of France Départements with 101 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Georgia Map](https://shadcnmaps.com/llms/georgia.md): Interactive SVG map of Georgia with 159 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Germany Map](https://shadcnmaps.com/llms/germany.md): Interactive SVG map of Germany with 16 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Ghana Map](https://shadcnmaps.com/llms/ghana.md): Interactive SVG map of Ghana with 10 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Greece Map](https://shadcnmaps.com/llms/greece.md): Interactive SVG map of Greece with 14 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Guatemala Map](https://shadcnmaps.com/llms/guatemala.md): Interactive SVG map of Guatemala with 22 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Hawaii Map](https://shadcnmaps.com/llms/hawaii.md): Interactive SVG map of Hawaii with 5 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Honduras Map](https://shadcnmaps.com/llms/honduras.md): Interactive SVG map of Honduras with 18 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Hungary Map](https://shadcnmaps.com/llms/hungary.md): Interactive SVG map of Hungary with 43 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Idaho Map](https://shadcnmaps.com/llms/idaho.md): Interactive SVG map of Idaho with 44 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Illinois Map](https://shadcnmaps.com/llms/illinois.md): Interactive SVG map of Illinois with 102 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [India Map](https://shadcnmaps.com/llms/india.md): Interactive SVG map of India with 36 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Indiana Map](https://shadcnmaps.com/llms/indiana.md): Interactive SVG map of Indiana with 92 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Indonesia Map](https://shadcnmaps.com/llms/indonesia.md): Interactive SVG map of Indonesia with 33 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Iowa Map](https://shadcnmaps.com/llms/iowa.md): Interactive SVG map of Iowa with 99 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Iran Map](https://shadcnmaps.com/llms/iran.md): Interactive SVG map of Iran with 31 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Iraq Map](https://shadcnmaps.com/llms/iraq.md): Interactive SVG map of Iraq with 18 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Ireland Map](https://shadcnmaps.com/llms/ireland.md): Interactive SVG map of Ireland with 34 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Israel Map](https://shadcnmaps.com/llms/israel.md): Interactive SVG map of Israel with 6 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Italy Map](https://shadcnmaps.com/llms/italy.md): Interactive SVG map of Italy with 21 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Japan Map](https://shadcnmaps.com/llms/japan.md): Interactive SVG map of Japan with 47 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Jordan Map](https://shadcnmaps.com/llms/jordan.md): Interactive SVG map of Jordan with 12 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Kansas Map](https://shadcnmaps.com/llms/kansas.md): Interactive SVG map of Kansas with 105 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Kazakhstan Map](https://shadcnmaps.com/llms/kazakhstan.md): Interactive SVG map of Kazakhstan with 16 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Kentucky Map](https://shadcnmaps.com/llms/kentucky.md): Interactive SVG map of Kentucky with 120 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Kenya Map](https://shadcnmaps.com/llms/kenya.md): Interactive SVG map of Kenya with 8 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Kuwait Map](https://shadcnmaps.com/llms/kuwait.md): Interactive SVG map of Kuwait with 6 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Latvia Map](https://shadcnmaps.com/llms/latvia.md): Interactive SVG map of Latvia with 119 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Lebanon Map](https://shadcnmaps.com/llms/lebanon.md): Interactive SVG map of Lebanon with 6 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Libya Map](https://shadcnmaps.com/llms/libya.md): Interactive SVG map of Libya with 22 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Lithuania Map](https://shadcnmaps.com/llms/lithuania.md): Interactive SVG map of Lithuania with 10 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [London Boroughs](https://shadcnmaps.com/llms/london-boroughs.md): Interactive SVG map of London Boroughs with 33 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Louisiana Map](https://shadcnmaps.com/llms/louisiana.md): Interactive SVG map of Louisiana with 64 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Luxembourg Map](https://shadcnmaps.com/llms/luxembourg.md): Interactive SVG map of Luxembourg with 3 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Macau Map](https://shadcnmaps.com/llms/macau.md): Interactive SVG map of Macau with 8 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Maine Map](https://shadcnmaps.com/llms/maine.md): Interactive SVG map of Maine with 16 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Malaysia Map](https://shadcnmaps.com/llms/malaysia.md): Interactive SVG map of Malaysia with 16 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Maryland Map](https://shadcnmaps.com/llms/maryland.md): Interactive SVG map of Maryland with 24 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Massachusetts Map](https://shadcnmaps.com/llms/massachusetts.md): Interactive SVG map of Massachusetts with 14 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Mexico Map](https://shadcnmaps.com/llms/mexico.md): Interactive SVG map of Mexico with 32 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Michigan Map](https://shadcnmaps.com/llms/michigan.md): Interactive SVG map of Michigan with 83 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Middle East Map](https://shadcnmaps.com/llms/middle-east.md): Interactive SVG map of Middle East with 17 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Minnesota Map](https://shadcnmaps.com/llms/minnesota.md): Interactive SVG map of Minnesota with 87 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Mississippi Map](https://shadcnmaps.com/llms/mississippi.md): Interactive SVG map of Mississippi with 82 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Missouri Map](https://shadcnmaps.com/llms/missouri.md): Interactive SVG map of Missouri with 115 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Monaco Map](https://shadcnmaps.com/llms/monaco.md): Interactive SVG map of Monaco with 10 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Montana Map](https://shadcnmaps.com/llms/montana.md): Interactive SVG map of Montana with 56 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Morocco Map](https://shadcnmaps.com/llms/morocco.md): Interactive SVG map of Morocco with 16 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Myanmar Map](https://shadcnmaps.com/llms/myanmar.md): Interactive SVG map of Myanmar with 14 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Nebraska Map](https://shadcnmaps.com/llms/nebraska.md): Interactive SVG map of Nebraska with 93 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Nepal Map](https://shadcnmaps.com/llms/nepal.md): Interactive SVG map of Nepal with 14 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Netherlands Map](https://shadcnmaps.com/llms/netherlands.md): Interactive SVG map of Netherlands with 12 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Nevada Map](https://shadcnmaps.com/llms/nevada.md): Interactive SVG map of Nevada with 17 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [New Hampshire Map](https://shadcnmaps.com/llms/new-hampshire.md): Interactive SVG map of New Hampshire with 10 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [New Jersey Map](https://shadcnmaps.com/llms/new-jersey.md): Interactive SVG map of New Jersey with 21 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [New Mexico Map](https://shadcnmaps.com/llms/new-mexico.md): Interactive SVG map of New Mexico with 33 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [New York Map](https://shadcnmaps.com/llms/new-york.md): Interactive SVG map of New York with 62 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [New York City Boroughs](https://shadcnmaps.com/llms/new-york-city-boroughs.md): Interactive SVG map of New York City Boroughs with 6 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [New Zealand Map](https://shadcnmaps.com/llms/new-zealand.md): Interactive SVG map of New Zealand with 19 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Nigeria Map](https://shadcnmaps.com/llms/nigeria.md): Interactive SVG map of Nigeria with 37 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [North Africa Map](https://shadcnmaps.com/llms/north-africa.md): Interactive SVG map of North Africa with 6 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [North America Map](https://shadcnmaps.com/llms/north-america.md): Interactive SVG map of North America with 29 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [North Carolina Map](https://shadcnmaps.com/llms/north-carolina.md): Interactive SVG map of North Carolina with 100 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [North Dakota Map](https://shadcnmaps.com/llms/north-dakota.md): Interactive SVG map of North Dakota with 53 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Northeast USA Map](https://shadcnmaps.com/llms/northeast-usa.md): Interactive SVG map of Northeast USA with 9 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Norway Map](https://shadcnmaps.com/llms/norway.md): Interactive SVG map of Norway with 21 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Ohio Map](https://shadcnmaps.com/llms/ohio.md): Interactive SVG map of Ohio with 88 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Oklahoma Map](https://shadcnmaps.com/llms/oklahoma.md): Interactive SVG map of Oklahoma with 77 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Oman Map](https://shadcnmaps.com/llms/oman.md): Interactive SVG map of Oman with 11 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Oregon Map](https://shadcnmaps.com/llms/oregon.md): Interactive SVG map of Oregon with 36 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Pakistan Map](https://shadcnmaps.com/llms/pakistan.md): Interactive SVG map of Pakistan with 8 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Palestine & Israel Map](https://shadcnmaps.com/llms/palestine-israel.md): Interactive SVG map of Palestine & Israel with 23 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Panama Map](https://shadcnmaps.com/llms/panama.md): Interactive SVG map of Panama with 12 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Paraguay Map](https://shadcnmaps.com/llms/paraguay.md): Interactive SVG map of Paraguay with 18 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Pennsylvania Map](https://shadcnmaps.com/llms/pennsylvania.md): Interactive SVG map of Pennsylvania with 67 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Peru Map](https://shadcnmaps.com/llms/peru.md): Interactive SVG map of Peru with 26 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Philippines Map](https://shadcnmaps.com/llms/philippines.md): Interactive SVG map of Philippines with 119 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Poland Map](https://shadcnmaps.com/llms/poland.md): Interactive SVG map of Poland with 16 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Portugal Map](https://shadcnmaps.com/llms/portugal.md): Interactive SVG map of Portugal with 20 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Puerto Rico Map](https://shadcnmaps.com/llms/puerto-rico.md): Interactive SVG map of Puerto Rico with 78 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Qatar Map](https://shadcnmaps.com/llms/qatar.md): Interactive SVG map of Qatar with 7 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Rhode Island Map](https://shadcnmaps.com/llms/rhode-island.md): Interactive SVG map of Rhode Island with 5 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Romania Map](https://shadcnmaps.com/llms/romania.md): Interactive SVG map of Romania with 42 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Russia Map](https://shadcnmaps.com/llms/russia.md): Interactive SVG map of Russia with 85 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Saudi Arabia Map](https://shadcnmaps.com/llms/saudi-arabia.md): Interactive SVG map of Saudi Arabia with 13 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Serbia Map](https://shadcnmaps.com/llms/serbia.md): Interactive SVG map of Serbia with 25 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Singapore Map](https://shadcnmaps.com/llms/singapore.md): Interactive SVG map of Singapore with 5 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Slovakia Map](https://shadcnmaps.com/llms/slovakia.md): Interactive SVG map of Slovakia with 8 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Slovenia Map](https://shadcnmaps.com/llms/slovenia.md): Interactive SVG map of Slovenia with 193 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [South Africa Map](https://shadcnmaps.com/llms/south-africa.md): Interactive SVG map of South Africa with 9 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [South America Map](https://shadcnmaps.com/llms/south-america.md): Interactive SVG map of South America with 14 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [South Carolina Map](https://shadcnmaps.com/llms/south-carolina.md): Interactive SVG map of South Carolina with 46 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [South Dakota Map](https://shadcnmaps.com/llms/south-dakota.md): Interactive SVG map of South Dakota with 66 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [South Korea Map](https://shadcnmaps.com/llms/south-korea.md): Interactive SVG map of South Korea with 17 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Spain Map](https://shadcnmaps.com/llms/spain.md): Interactive SVG map of Spain with 17 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Sri Lanka Map](https://shadcnmaps.com/llms/sri-lanka.md): Interactive SVG map of Sri Lanka with 25 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Sudan Map](https://shadcnmaps.com/llms/sudan.md): Interactive SVG map of Sudan with 17 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Sweden Map](https://shadcnmaps.com/llms/sweden.md): Interactive SVG map of Sweden with 21 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Switzerland Map](https://shadcnmaps.com/llms/switzerland.md): Interactive SVG map of Switzerland with 26 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Syria Map](https://shadcnmaps.com/llms/syria.md): Interactive SVG map of Syria with 14 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Taiwan Map](https://shadcnmaps.com/llms/taiwan.md): Interactive SVG map of Taiwan with 22 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Tanzania Map](https://shadcnmaps.com/llms/tanzania.md): Interactive SVG map of Tanzania with 30 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Tennessee Map](https://shadcnmaps.com/llms/tennessee.md): Interactive SVG map of Tennessee with 95 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Texas Map](https://shadcnmaps.com/llms/texas.md): Interactive SVG map of Texas with 254 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Thailand Map](https://shadcnmaps.com/llms/thailand.md): Interactive SVG map of Thailand with 77 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Trinidad and Tobago Map](https://shadcnmaps.com/llms/trinidad-and-tobago.md): Interactive SVG map of Trinidad and Tobago with 16 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Tunisia Map](https://shadcnmaps.com/llms/tunisia.md): Interactive SVG map of Tunisia with 23 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Turkey Map](https://shadcnmaps.com/llms/turkey.md): Interactive SVG map of Turkey with 81 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Turkmenistan Map](https://shadcnmaps.com/llms/turkmenistan.md): Interactive SVG map of Turkmenistan with 5 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [United Arab Emirates Map](https://shadcnmaps.com/llms/uae.md): Interactive SVG map of United Arab Emirates with 9 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Uganda Map](https://shadcnmaps.com/llms/uganda.md): Interactive SVG map of Uganda with 112 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [United Kingdom Map](https://shadcnmaps.com/llms/uk.md): Interactive SVG map of United Kingdom with 14 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Ukraine Map](https://shadcnmaps.com/llms/ukraine.md): Interactive SVG map of Ukraine with 27 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Uruguay Map](https://shadcnmaps.com/llms/uruguay.md): Interactive SVG map of Uruguay with 19 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [USA Map](https://shadcnmaps.com/llms/usa.md): Interactive SVG map of the United States with all 50 states and DC. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [USA & Canada Map](https://shadcnmaps.com/llms/usa-canada.md): Interactive SVG map of USA & Canada with 63 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [USA Territories](https://shadcnmaps.com/llms/usa-territories.md): Interactive SVG map of USA Territories with 60 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Utah Map](https://shadcnmaps.com/llms/utah.md): Interactive SVG map of Utah with 29 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Uzbekistan Map](https://shadcnmaps.com/llms/uzbekistan.md): Interactive SVG map of Uzbekistan with 14 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Venezuela Map](https://shadcnmaps.com/llms/venezuela.md): Interactive SVG map of Venezuela with 25 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Vermont Map](https://shadcnmaps.com/llms/vermont.md): Interactive SVG map of Vermont with 14 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Vietnam Map](https://shadcnmaps.com/llms/vietnam.md): Interactive SVG map of Vietnam with 63 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Virginia Map](https://shadcnmaps.com/llms/virginia.md): Interactive SVG map of Virginia with 134 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Washington Map](https://shadcnmaps.com/llms/washington.md): Interactive SVG map of Washington with 39 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [West Virginia Map](https://shadcnmaps.com/llms/west-virginia.md): Interactive SVG map of West Virginia with 55 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Wisconsin Map](https://shadcnmaps.com/llms/wisconsin.md): Interactive SVG map of Wisconsin with 72 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [World Map](https://shadcnmaps.com/llms/world.md): Interactive SVG map of World with 256 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [World (Jammu & Kashmir)](https://shadcnmaps.com/llms/world-jammu-kashmir.md): Interactive SVG map of World (Jammu & Kashmir) with 257 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Wyoming Map](https://shadcnmaps.com/llms/wyoming.md): Interactive SVG map of Wyoming with 23 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Yemen Map](https://shadcnmaps.com/llms/yemen.md): Interactive SVG map of Yemen with 21 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Zambia Map](https://shadcnmaps.com/llms/zambia.md): Interactive SVG map of Zambia with 10 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. - [Zimbabwe Map](https://shadcnmaps.com/llms/zimbabwe.md): Interactive SVG map of Zimbabwe with 10 regions. Supports click, hover, keyboard navigation, tooltips, and custom markers. ## Examples - [Choropleth](https://shadcnmaps.com/llms/choropleth.md): Color-code map regions by data values. - [Controlled](https://shadcnmaps.com/llms/controlled.md): Control the selected region externally with a combobox and sidebar. - [Markers](https://shadcnmaps.com/llms/markers.md): Overlay custom SVG markers on the map. - [Region Click](https://shadcnmaps.com/llms/region-click.md): Respond to region clicks on the map. - [Zoom & Pan](https://shadcnmaps.com/llms/zoom-pan.md): Add zoom and pan controls to any map.