Cobe Js
Cobe Js - Official site of the 5KB WebGL globe library: 13 demo scenes, install guide and React, Vue, Svelte examples.
• Copy the embed code to showcase this product on your website
• Share on X to spread the word about this amazing tool
Cobe Js Official Website
Cobe Js is a 5KB WebGL globe library that renders 3D globes in any web app.
- Official app: https://cobe.vercel.app/
- Creator: Shu Ding (@shuding, Vercel, creator of SWR)
- Price: Free (open source, MIT License)
- Login required: No
- Platform: Web (Vercel + npm library)
- Main use: 3D globe visualizations for React, Vue, Svelte, and vanilla JS projects
- Last checked: 2026-08-21
We are not the official developer of Cobe Js. This page helps users find, understand, and use the product.
What Is Cobe Js?
People search for "cobe js" when they want a 3D globe on their website without pulling in a heavy 3D engine. Cobe Js answers that need: the whole library stays around 5KB, and one function call puts a rotating, glowing globe on any canvas. The official site is the best way to see what it can do — it cycles through 13 demo scenes: Stickers, Labels, Satellites, Polaroids, Live Badge, Flights, Interactive, Analytics, Pulse, Weather, and Bars.
The highlight demo shows a globe with city markers and curved flight arcs (SF → Tokyo, NYC → London) that feel like a real-time network visualization. That is the experience most developers are chasing when they land on the site. The page also embeds the actual usage code, an install command for npm/pnpm/yarn/bun, a CDN option, and framework-specific examples for React, Vue, and Svelte on CodeSandbox and StackBlitz.
How to Use Cobe Js
- Open the official Cobe Js website to try the interactive globe demos.
- Install it in your project:
npm install cobe. - Import the API:
import createGlobe from 'cobe'. - In your component lifecycle, call
createGlobe(canvas, { width, height, devicePixelRatio, markerColor, glowColor, ... }), and copy the options from the demo page as a starting point.
Is Cobe Js Safe?
Cobe Js is an open-source project with a public GitHub repository (github.com/shuding/cobe) under the MIT license, so the source can be audited by anyone. It renders WebGL onto a canvas in the browser; it has no backend, no accounts, no tracking, and does not upload any data. The demo runs on Vercel's hosting and needs no login. The author, Shu Ding, is a prominent, well-known web developer at Vercel. The only caveat: cobe is a rendering library — it does not provide map data, so you supply your own markers and colors. We cannot call any library "100% safe", but cobe has a clean, minimal, audited codebase.
Why Is Cobe Js Popular?
The popularity of Cobe Js traces to a single memorable claim: "The 5KB WebGL globe." A developer can add a stunning animated globe with a dependency smaller than most utility libraries. It was created by Shu Ding, who has a large developer following from creating SWR and working on Next.js at Vercel, and his technical deep-dive thread about the rendering approach spread widely on X/Twitter when the library launched. The project now has over 5.6K GitHub stars, and the demo site itself gets searched and shared whenever developers see a globe animation on a landing page and want to replicate it.
Cobe Js Not Working?
If Cobe Js fails to load or render, try:
- Refresh the page to re-initialize the WebGL context.
- Try another browser or update your browser — WebGL is required.
- Enable hardware acceleration in your browser settings.
- Check that the cobe.vercel.app deployment is still online.
- In your own code, ensure the canvas exists before calling
createGlobe, and give the canvas container an explicit width and height.
Cobe Js Alternatives
If you like Cobe Js, you can also try:
- react-globe.gl — a React wrapper around the globe.gl library for data-driven globes
- globe.gl — a feature-rich WebGL globe with extensive data visualization support
- three-globe — a Three.js addon offering more 3D scene control
Frequently Asked Questions
What is the official Cobe Js website?
The official website is https://cobe.vercel.app/ (source on GitHub: github.com/shuding/cobe).
Is Cobe Js free?
Yes, it is MIT-licensed open source — free for personal and commercial use.
Do I need an account to use Cobe Js?
No. You can use the demo site without an account, and the library runs in your project with no sign-up.
Who created Cobe Js?
It was created by Shu Ding (@shuding), a developer at Vercel and the creator of the SWR library.
Is Cobe Js still available?
Yes — the GitHub repository was updated recently and the demo site is live as of 2026-08-21.