Early accessFull site coming soon. Pro is $49.99 a year. See pricing ›

Nexus UI

Dot Globe, animated React component

A dotted globe with flight arcs drawing themselves along great circles. Drag to spin it and it coasts to a stop; pick a city and it springs round to face you.

  • Pro
  • 3D Components
  • 3D
  • Spring

Play with it

Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.

Props

PropTypeDefaultWhat it does
size340Width and height of the globe canvas in px.
accent"#0071e3"Colour of the arcs, pins and the selected city chip.
citiesDOT_GLOBE_CITIESCities to pin and list as chips. Each has id, name, lat and lon.
routesDOT_GLOBE_ROUTESFlight arcs as pairs of city ids; pairs with an unknown id are skipped.
autoplayfalseTurns slowly and tours the cities until someone drags or picks one.