A highly performant 3D globe component built with Cobe, featuring smooth rotation and location markers.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Max-Samson/magicui/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Usage
Props
CSS classes for the component wrapper
Configuration Options
Theconfig prop accepts all Cobe configuration options, including:
phi- Rotation angle around the vertical axistheta- Rotation angle around the horizontal axisdark- Darkness level (0-1)diffuse- Diffuse lighting intensitymapSamples- Number of samples for map renderingmapBrightness- Brightness of the mapbaseColor- RGB array for base colormarkerColor- RGB array for marker colorglowColor- RGB array for glow colormarkers- Array of location markers
Example with Custom Config
Features
- WebGL-powered 3D rendering
- Auto-rotation with physics
- Interactive dragging
- Location markers
- Customizable colors and appearance
- Smooth animations
- Responsive sizing