nextui.dev
Home
Docs
Saved
Pricing
Components37
  • Forms & inputs7
  • Cards13
  • Buttons, badges & avatars8
  • Feedback & display6
  • Effects3
Agents17
  • Chat inputNew
  • Task checklistNew
  • ReasoningNew
  • Tool callNew
  • Tool approvalNew
  • SourcesNew
  • Agent timelineNew
  • Artifact panelNew
  • Streaming messageNew
  • Conversation shellNew
  • Voice agentNew
  • Voice orbNew
  • Thinking ring
  • Thinking waveNew
  • Thinking sparkle
  • Thinking bot
  • Prompt deckNew
Blocks20
  • Agent chatNew
  • Pill heroNew
  • Grid hero
  • Moodboard generatorNew
  • Waitlist heroNew
  • Intro bannerNew
  • Creative home heroNew
  • Chat heroNew
  • App shelfNew
  • Usage card
  • Design resultsNew
  • Pricing tiers
  • Dashboard home
  • The shiftNew
  • Launch perksNew
  • Testimonials
  • Quote
  • Team
  • Leads tableNew
  • Sign in
Pages10
  • ASCII workspace$49
  • CRM overviewNew
  • Marketing dashboardNew
  • Developer portfolio$49
  • Particle landing$49
  • Particle story$49
  • Statement converter$49
  • AI photo studio$49
  • Group card launch$49
  • Month-end storyNew
Themes9
  • Default
  • Ember
  • Ocean
  • Forest
  • Grape
  • Rose
  • Amber
  • Clay
  • Brutal
Upgrade
nextui.dev

nextui components, blocks and themes you install with one command.

Product

  • Components
  • Blocks
  • Themes
  • Pricing

Resources

  • Docs
  • Roadmap
  • GitHub

Legal

  • License
  • Privacy
  • Terms
  • Refunds

nextUI

[ 200 OK ] · nextUI

© 2026 NEXTUI • All rights reserved.

Upgrade
ComponentsCardsGlobe arcs
Copy promptCopy prompt

Customize

Width and height of the globe, in px; it shrinks to fit narrower containers

420px

City the globe turns to face first

Spin speed in degrees per second while idle; 0 stops it

4

Drag to rotate, click a label to turn to that city

JSX · copied with Copy prompt

<GlobeArcs />

Globe arcsNew

A dotted globe with arcs that draw between cities; drag to turn it, or click a city to bring it to the front.

Installation

Set your access key from API keys as NEXTUI_TOKEN in .env.local and add the @nextui namespace below to components.json once. Then every item installs by name. Each install counts as a copy on a free account.

$pnpm dlx shadcn@latest add @nextui/globe-arcs
1{
2 "registries": {
3 "@nextui": {
4 "url": "https://nextui.dev/r/{name}.json",
5 "headers": { "Authorization": "Bearer ${NEXTUI_TOKEN}" }
6 }
7 }
8}

Usage

1import { GlobeArcs } from "@/components/nextui/globe-arcs";
2
3export function Network() {
4 return (
5 <GlobeArcs
6 className="text-muted-foreground"
7 cities={[
8 { name: "Frankfurt", lat: 50.11, lng: 8.68 },
9 { name: "Dubai", lat: 25.2, lng: 55.27 },
10 { name: "Singapore", lat: 1.35, lng: 103.82 },
11 ]}
12 routes={[
13 ["Frankfurt", "Dubai"],
14 ["Dubai", "Singapore"],
15 ]}
16 focus="Dubai"
17 />
18 );
19}

API reference

Edit props live in the preview above, or see all 9 props
PropTypeDefaultDescription
sizenumber420Width and height of the globe, in px; it shrinks to fit narrower containers
cities{ name: string; lat: number; lng: number }[]–Points on the globe, each with a label; defaults to eight cities across Europe, Africa, Asia and the US
routes[string, string][]–Arcs to animate, as pairs of city names
focusstring"Dubai"City the globe turns to face first
speednumber4Spin speed in degrees per second while idle; 0 stops it
interactivebooleantrueDrag to rotate, click a label to turn to that city
accentstring"var(--foreground)"Color of the arcs and markers; any CSS color
labelstring"Globe with animated routes between cities"Description read by screen readers
classNamestring–Extra class on the root; a text color class sets the dot color

Related

All components

Contact stackNew

Service receiptNew

Revenue cardNew

Sign in to see the code

Preview it freely. A free account copies code and prompts a few times a day.

Sign in