# World Map — component for maps & globes (react)

> **For AI agents:** find the right skill in one call — `curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"` returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the use-case page.

A dotted world map where curved arcs draw between pinned cities that pulse with small rings

- **Install:** `npx shadcn@latest add @aceternity/world-map`
- **Registry:** aceternity · **Framework:** react · **License:** Aceternity License (free components)
- **Docs and preview:** https://ui.aceternity.com/components/world-map
- **Source:** https://ui.aceternity.com/components/world-map
- **Example:** https://skills.varg.ai/previews/lib-aceternity-world-map.mp4?v=21892 (Rendered by varg from the library’s own code (Aceternity UI))
- **Time:** Drive from the frame. Runs on its own clock (requestAnimationFrame, timers, springs or CSS). Drive it from frame / fps before rendering, or the render drifts.
- **Runs:** local render, free
- **Aspect:** any

## Prompt that renders it frame-exact

Show connections between cities with Aceternity UI's World Map (https://ui.aceternity.com/components/world-map; free component, Aceternity License, fine in commercial video, do not redistribute the code), spanning the frame width below a title. Install with `npx shadcn@latest add @aceternity/world-map`. Arcs draw in with Motion pathLength tweens on mount and the city dots pulse with SVG animate, so in Remotion set each arc's pathLength from frame / fps with a per-arc delay and scale the pulse rings from the same clock; in HyperFrames tween pathLength on the paused timeline. Pass dots as [{ start: { lat, lng }, end: { lat, lng } }], set lineColor, and use the dark map variant for a black frame.

## Used in

- [Map & route animation](https://skills.varg.ai/video/map-story.md)
- [News explainer](https://skills.varg.ai/video/news-explainer.md)
- [History timeline](https://skills.varg.ai/video/history-timeline.md)
- [Conference & event promo](https://skills.varg.ai/video/event-promo.md)
- [Photo memories](https://skills.varg.ai/video/memories.md)
- [Birthday, wedding & invitation](https://skills.varg.ai/video/celebration.md)
- [Travel route video](https://skills.varg.ai/video/travel-route.md)
- [Real estate listing](https://skills.varg.ai/video/real-estate.md)

## More maps & globes

- [North Korea Locked Down](https://skills.varg.ai/component/hf.north-korea-locked-down.md) — `npx hyperframes add north-korea-locked-down`
- [NYC Paris Flight](https://skills.varg.ai/component/hf.nyc-paris-flight.md) — `npx hyperframes add nyc-paris-flight`
- [Spain Map](https://skills.varg.ai/component/hf.spain-map.md) — `npx hyperframes add spain-map`
- [US Map](https://skills.varg.ai/component/hf.us-map.md) — `npx hyperframes add us-map`
- [US Bubble Map](https://skills.varg.ai/component/hf.us-map-bubble.md) — `npx hyperframes add us-map-bubble`
- [US Flow Map](https://skills.varg.ai/component/hf.us-map-flow.md) — `npx hyperframes add us-map-flow`
