| variant | "mono" | "ocean" | "aurora" | "sunset" | "neon" | "matrix" | "gold" | "earth" | "mono" | Built-in colour theme. mono is the plain white one; earth pairs naturally with daylight. Theme objects are also exported as GLOBE_VARIANTS. | No |
| colors | object | — (uses the selected variant) | Override any theme key with hex strings: land (array of 1+ hex stops), ocean, oceanAlpha (0-1), oceanDensity (0-1), arc, head, marker, glow, glowAlpha (0-1), body ([inner, outer]), line, scan, orbit, star, colorBy. e.g. { land: ["#fff", "#f0abfc"], glow: "#e879f9" }. | No |
| colorBy | "solid" | "lat" | "lon" | "view" | theme default | How land dots pick a colour from the theme's land stops: lat by latitude, lon by longitude, view by screen position (the gradient sweeps as the globe turns). | No |
| dots | number | 11000 | Sample points over the whole sphere. 8000 is light, 11000 is detailed, 18000 is very detailed. | No |
| dotSize | number | 1 | Dot radius multiplier. | No |
| dotShape | "circle" | "square" | "circle" | Dot shape. Square dots are the cheapest to draw. | No |
| oceanDensity | number | theme default (0.3 – 0.7) | 0 – 1, share of sampled ocean dots kept. Lower = sparser oceans. | No |
| twinkle | boolean | true | Land dots shimmer subtly. | No |
| graticule | boolean | true | Faint latitude/longitude grid on the globe body. | No |
| atmosphere | boolean | true | Outer glow plus a fresnel rim light on the globe edge. | No |
| stars | boolean | true | Twinkling star field behind the globe. | No |
| orbit | boolean | true | Tilted orbit ring with a satellite and a fading trail. | No |
| orbitSpeed | number | 1 | Satellite speed multiplier. | No |
| scan | boolean | true | A latitude radar sweep that lights up land and ocean dots as it passes. | No |
| scanPeriod | number | 7 | Seconds per scan sweep, including the pause between sweeps. | No |
| daylight | boolean | false | Shade the night side using the real UTC sun position. | No |
| sunPosition | [number, number] | — (live UTC time) | [lat, lon] to fix the sun instead of computing it from the current time. | No |
| nightDim | number | 0.22 | 0 – 1. Brightness of the night side when daylight is on. | No |
| center | [number, number] | [22, 105] | Initial [lat, lon] facing the viewer. | No |
| roll | number | 0 | Screen-plane tilt of the globe in degrees (try -15). | No |
| scale | number | 0.8 | Globe radius as a share of the box; below 1 leaves room for arcs and the orbit ring. | No |
| autoRotate | boolean | true | Slow spin. Resumes smoothly after you let go of a drag. | No |
| rotateSpeed | number | 6 | Auto-rotation speed in degrees per second. Negative reverses. | No |
| pauseOnHover | boolean | false | Pause the spin while the pointer is over the globe. | No |
| draggable | boolean | true | Drag to rotate. Vertical page scroll still works on touch. | No |
| inertia | boolean | true | Keep spinning after a flick. | No |
| reveal | boolean | true | Intro: dots bloom from the centre while the globe settles into place. | No |
| introSpin | number | 70 | Degrees the intro spins through during the reveal. | No |
| entrance | boolean | true | Fade/scale-in of the whole component on mount. | No |
| markers | Array<{ id?: string | number; label?: string; sub?: string; lat: number; lon: number; color?: string; size?: number }> | 12 world cities | Points drawn on the surface. id defaults to the array index; label/sub feed the tooltip; color (hex) and size override per marker. | No |
| arcs | Array<{ from: string | number | [number, number] | { lat: number; lon: number }; to: same; color?: string }> | 8 demo routes (only when `markers` is omitted) | Animated arcs. from/to accept a marker id, a marker index, a [lat, lon] pair, or a { lat, lon } object. color overrides per arc. | No |
| arcHeight | number | 1 | Arc altitude multiplier. | No |
| arcSpeed | number | 1 | Arc travel speed multiplier. | No |
| trail | number | 0.3 | Length of the bright arc trail as a 0 – 1 share of the arc. | No |
| markerSize | number | 1 | Marker size multiplier. | No |
| pulse | boolean | true | Pulsing ripple rings on markers. | No |
| labels | "hover" | "always" | "none" | "hover" | Marker labels: drawn on the canvas next to markers, on hover only or permanently. | No |
| onMarkerClick | (marker, index) => void | — | Called with the raw marker object and its index when a marker is clicked. | No |
| flyOnClick | boolean | true | Rotate the globe to a marker when it is clicked. | No |
| flyDuration | number | 1.4 | Seconds for a flyTo animation. | No |
| focusOn | string | number | [number, number] | { lat: number; lon: number } | — | Fly to this target whenever it changes - marker id, index, [lat, lon], or { lat, lon }. | No |
| renderTooltip | (marker) => ReactNode | — | Replaces the default tooltip body. Receives the raw marker object. | No |
| tooltipClassName | string | "" | Extra Tailwind classes for the default tooltip card. | No |
| size | number | — (responsive) | Fixed pixel size. Omit for a responsive square that fills its parent's width. | No |
| className | string | "" | Classes for the outer wrapper, e.g. max-w-[560px] to cap width. | No |
| style | React.CSSProperties | — | Inline style for the outer wrapper. | No |
| ariaLabel | string | "Interactive globe" | Accessible label for the canvas (rendered with role="img"). | No |
| children | ReactNode | — | Overlay content, centred over the globe (non-interactive layer). | No |
| ref | React.Ref<{ flyTo(target, opts?): void; getRotation(): { lat: number; lon: number } }> | — | Imperative API: flyTo(target, { duration }) accepts the same targets as focusOn; getRotation() returns the current { lat, lon }. | No |