Globe

Interactive 3D globe with animated arcs and location markers

Customize

Arc Color
Dots & Shadow Color
Rotation Speed
0.85
Camera Altitude
3.0
Point Size
0.25
Atmosphere Altitude
0.15
Globe Opacity
1.00
Arc Count
10
Arc Interval (ms)
6000
Arc Animation Duration (ms)
2000

Props

22
widthnumber | "auto"

Width of the globe container in pixels, or "auto" to match parent width

Default"auto"
heightnumber | "auto"

Height of the globe container in pixels, or "auto" to match width

Default"auto"
primaryColorstring

Color for animated arcs and labels (any valid CSS color)

Default"rgb(59, 130, 246)"
neutralColorstring

Color for land dots and atmosphere (any valid CSS color)

Default"rgb(156, 163, 175)"
atmosphereColorstring

Color for atmosphere (defaults to neutralColor)

Defaultundefined
showAtmosphereboolean

Show atmosphere glow around the globe

Defaulttrue
autoRotateSpeednumber

Auto-rotation speed (0 = no rotation, higher = faster)

Default0.85
enableZoomboolean

Enable zoom controls via mouse wheel

Defaultfalse
interactiveboolean

Whether the globe is interactive

Defaulttrue
arcCountnumber

Number of animated arcs to show at once

Default10
arcIntervalnumber

Interval between arc animations in milliseconds

Default6000
arcAnimationDurationnumber

Duration of arc dash animation in milliseconds

Default2000
cameraAltitudenumber

Altitude of the camera view (higher = further away)

Default2
pointSizenumber

Size of the land dots

Default0.25
pointResolutionnumber

Resolution of the points

Default5
atmosphereAltitudenumber

Altitude of the atmosphere

Default0.3
globeOpacitynumber

Opacity of the globe material

Default1
landDotRowsnumber

Number of rows for land dot grid (higher = more detail)

Default200
landMapUrlstring

URL of the land map image for dot placement

Default"https://unpkg.com/three-globe@2.31.1/example/img/earth-topology.png"
classNamestring

Additional class name for the container

Defaultundefined
onReady() => void

Callback fired when globe is initialized and ready

Defaultundefined
onGlobeClick(coords: { lat: number; lng: number }, event: MouseEvent) => void

Callback when globe is clicked

Defaultundefined