Measured entry

magicui-globe

globe-vizunclassifiedmotion on file

A client-side React globe rendered to a WebGL canvas with COBE. It ships as a shadcn registry component, uses Motion for drag smoothing, relies on a shared cn helper and utility classes, and accepts a COBE configuration for markers and appearance.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of magicui-globe at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of magicui-globe at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of magicui-globe at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for magicui-globe
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal27.5 KB (92.1 KB build, 64.6 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 1.07s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/globe.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A convincing interactive accent that builds and mounts in the prepared harness, but it needs a shadcn-style setup to work as supplied. The narrow-view overflow and added rendering dependencies make it a deliberate visual choice, not a drop-in default.

Use it if

  • You need an animated, draggable globe as a decorative hero or location visual.
  • Your React app already has a shadcn-style alias, utility CSS, and client component support.
  • You want to customize markers and rendering through the exposed COBE configuration.

Skip it if

  • Your layout must work in narrow containers without component-level sizing fixes.
  • You cannot justify adding a WebGL renderer and animation dependency for a decorative element.
  • You need a static, server-rendered, or text-accessible map rather than an interactive canvas.

Install

Installation record for magicui-globe
Declared dependenciescobe@^0.6.4, motion
Missing on installcobe@^0.6.4
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, install COBE and Motion, provide the cn class-merging helper or replace it, configure the source alias, and ensure the utility classes are available. Keep the client-only boundary and place the globe inside a positioned, size-constrained wrapper.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

License
MIT
Record published
2026-08-12

Alternatives

Other published entries for the globe-viz pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.