Globe

Interactive 3D globe with animated arcs and location markers

globe-tw

Customize

Colors

#FF9FFC
#9ca3af

Toggles

Globe Settings

0.85
3
0.25
0.15
1

Arc Settings

10
6000
2000

Props

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)

Default:undefined
showAtmosphereboolean

Show atmosphere glow around the globe

Default:true
autoRotateSpeednumber

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

Default:0.85
enableZoomboolean

Enable zoom controls via mouse wheel

Default:false
interactiveboolean

Whether the globe is interactive

Default:true
arcCountnumber

Number of animated arcs to show at once

Default:10
arcIntervalnumber

Interval between arc animations in milliseconds

Default:6000
arcAnimationDurationnumber

Duration of arc dash animation in milliseconds

Default:2000
cameraAltitudenumber

Altitude of the camera view (higher = further away)

Default:2
pointSizenumber

Size of the land dots

Default:0.25
pointResolutionnumber

Resolution of the points

Default:5
atmosphereAltitudenumber

Altitude of the atmosphere

Default:0.3
globeOpacitynumber

Opacity of the globe material

Default:1
landDotRowsnumber

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

Default:200
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

Default:undefined
onReady() => void

Callback fired when globe is initialized and ready

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

Callback when globe is clicked

Default:undefined