# @cesium/widgets

> A widgets library for use with CesiumJS. CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

Latest version **16.2.0** (published 2026-09-01) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @cesium/widgets
pnpm add @cesium/widgets
yarn add @cesium/widgets
bun add @cesium/widgets
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 16.2.0 |
| Published | 2026-09-01 |
| First published | 2022-10-21 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.0.0 |
| Dependencies | 2 |
| Unpacked size | 1.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15719 |
| Author | Cesium GS, Inc. |
| Maintainers | cesiumgsadmin, ggetz, lukemckinstry, jjspace, jjhembd, adamcesium, mzschwartz5 |
| Keywords | 3D, webgl, geospatial, map, globe, widgets |

## Links

- npm: https://www.npmjs.com/package/@cesium/widgets
- Repository: https://github.com/CesiumGS/cesium
- Homepage: https://cesium.com/cesiumjs/
- Issues: https://github.com/CesiumGS/cesium/issues
- npm.io page: https://npm.io/package/@cesium/widgets

## Dependencies (2)

- [nosleep.js](https://npm.io/package/nosleep.js.md) ^0.12.0
- [@cesium/engine](https://npm.io/package/@cesium/engine.md) ^26.3.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 16.2.0 (latest) — 2026-09-01
- 13.2.1-ion.0 (ion) — 2025-10-08
- 16.1.1 — 2026-08-04
- 16.1.0 — 2026-07-01
- 16.0.0 — 2026-06-01
- 15.0.0 — 2026-05-01
- 14.5.0 — 2026-04-01
- 14.4.1 — 2026-03-06
- 14.4.0 — 2026-03-02
- 14.3.0 — 2026-02-02
- 14.2.0 — 2026-01-05
- 14.1.0 — 2025-12-01
- 14.0.0 — 2025-11-03
- 13.2.1 — 2025-10-10
- 13.2.0 — 2025-10-01
- … 46 more at https://npm.io/package/@cesium/widgets/versions

## README

# @cesium/widgets

[![Build Status](https://github.com/CesiumGS/cesium/actions/workflows/dev.yml/badge.svg)](https://github.com/CesiumGS/cesium/actions/workflows/dev.yml)
[![npm](https://img.shields.io/npm/v/@cesium/widgets)](https://www.npmjs.com/package/@cesium/widgets)
[![Docs](https://img.shields.io/badge/docs-online-orange.svg)](https://cesium.com/learn/)

![Cesium](https://github.com/CesiumGS/cesium/wiki/logos/Cesium_Logo_Color.jpg)

[CesiumJS](../../README.md) is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics, and is cross-platform, cross-browser, and tuned for dynamic-data visualization.

`@cesium/widgets` is a widgets library for use with CesiumJS—including the `CesiumViewer` widget plus widgets for common tasks such as animation, base layer selection and geocoding.

---

[**Examples**](https://sandcastle.cesium.com/) :earth_asia: [**Docs**](https://cesium.com/learn/cesiumjs-learn/) :earth_americas: [**Website**](https://cesium.com/cesiumjs) :earth_africa: [**Forum**](https://community.cesium.com/) :earth_asia: [**User Stories**](https://cesium.com/user-stories/)

---

## Install

`@cesium/widgets` is published as ES modules with full typing support.

Install with npm

```sh
npm install @cesium/widgets --save
```

Or, install with yarn

```sh
yarn add @cesium/widgets
```

## Usage

Import individual modules to benefit from tree shaking optimizations through most build tools:

```js
import { Viewer } from "@cesium/widgets";
import "@cesium/widgets/Source/widgets.css";

const viewer = new Viewer("cesiumContainer");
```

See our [Quickstart Guide](https://cesium.com/learn/cesiumjs-learn/cesiumjs-quickstart/) for more information on getting a CesiumJS app up and running.

## Community

Have questions? Ask them on the [community forum](https://community.cesium.com/).

Interested in contributing? See [CONTRIBUTING.md](../../CONTRIBUTING.md). :heart:

## License

[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html). CesiumJS is free for both commercial and non-commercial use.

---
_Source: https://npm.io/package/@cesium/widgets · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
