# baseui

> A React Component library implementing the Base design language

Latest version **18.2.0** (published 2026-07-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install baseui
pnpm add baseui
yarn add baseui
bun add baseui
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 18.2.0 |
| Published | 2026-07-02 |
| First published | 2016-11-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=24.0.0 |
| Dependencies | 30 |
| Unpacked size | 3.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 9033 |
| Maintainers | fusion-ci |
| Keywords | react, uber, baseui, baseweb |

## Links

- npm: https://www.npmjs.com/package/baseui
- Repository: https://github.com/uber/baseweb
- Homepage: https://github.com/uber/baseweb#readme
- Issues: https://github.com/uber/baseweb/issues
- npm.io page: https://npm.io/package/baseui

## Dependencies (30)

- [d3](https://npm.io/package/d3.md) ^7.9.0
- [moment](https://npm.io/package/moment.md) ^2.29.4
- [csstype](https://npm.io/package/csstype.md) 2.6.11
- [axe-core](https://npm.io/package/axe-core.md) ^4.11.0
- [date-fns](https://npm.io/package/date-fns.md) ^2.28.0
- [mockdate](https://npm.io/package/mockdate.md) 2.0.5
- [polished](https://npm.io/package/polished.md) ^4.2.2
- [react-is](https://npm.io/package/react-is.md) ^17.0.2
- [popper.js](https://npm.io/package/popper.js.md) ^1.16.1
- [react-uid](https://npm.io/package/react-uid.md) 2.3.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.8.1
- [date-fns-tz](https://npm.io/package/date-fns-tz.md) ^1.2.2
- [just-extend](https://npm.io/package/just-extend.md) 4.1.1
- [memoize-one](https://npm.io/package/memoize-one.md) 5.0.0
- [react-range](https://npm.io/package/react-range.md) ^1.8.12
- [react-map-gl](https://npm.io/package/react-map-gl.md) 5.2.13
- [react-window](https://npm.io/package/react-window.md) 1.8.5
- [react-movable](https://npm.io/package/react-movable.md) ^3.0.4
- [card-validator](https://npm.io/package/card-validator.md) ^6.2.0
- [react-dropzone](https://npm.io/package/react-dropzone.md) 9.0.0
- [@date-io/moment](https://npm.io/package/@date-io/moment.md) ^2.13.1
- [react-hook-form](https://npm.io/package/react-hook-form.md) ^7.30.0
- [react-multi-ref](https://npm.io/package/react-multi-ref.md) ^1.0.0
- [react-focus-lock](https://npm.io/package/react-focus-lock.md) ^2.8.1
- [react-input-mask](https://npm.io/package/react-input-mask.md) ^2.0.4
- [@date-io/date-fns](https://npm.io/package/@date-io/date-fns.md) ^2.13.1
- [react-virtualized](https://npm.io/package/react-virtualized.md) ^9.22.3
- [styletron-standard](https://npm.io/package/styletron-standard.md) ^3.1.0
- [resize-observer-polyfill](https://npm.io/package/resize-observer-polyfill.md) 1.5.1
- [react-virtualized-auto-sizer](https://npm.io/package/react-virtualized-auto-sizer.md) 1.0.2

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 18.2.0 (latest) — 2026-07-02
- 0.0.0-next-61fd16b8b (next) — 2026-09-04
- 0.0.0-alpha-cdf3467 (alpha) — 2022-09-27
- 9.3.4-beta (beta) — 2019-09-19
- 1.8.1-8 (prerelease) — 2018-09-17
- 0.0.0-next-59417ce2d — 2026-09-04
- 0.0.0-next-f30c15e11 — 2026-09-04
- 0.0.0-next-cf8bb45cf — 2026-07-07
- 0.0.0-next-3adb0478c — 2026-07-02
- 0.0.0-next-c10b736ad — 2026-06-08
- 0.0.0-next-7f824fc71 — 2026-06-08
- 18.1.0 — 2026-06-08
- 0.0.0-next-0dafd566b — 2026-02-17
- 16.1.1 — 2026-02-17
- 0.0.0-next-a0c3728ce — 2026-02-13
- … 1034 more at https://npm.io/package/baseui/versions

## README

<h1>Base Web React Components</h1>

- [Documentation](https://baseweb.design)
- [Component catalog](https://baseweb.design/ladle)
- [Stackblitz playground](https://baseweb.design/new)

⚠️ **Maintenance status**. We are limiting our engagement with this repository while still mirroring our internal development. For more details, please check [Open Source Engagement and Future](https://baseweb.design/blog/open-source-engagement/). If you are an Uber developer and looking to open an issue, use this [link](https://t.uber.com/ui-platform-bug-2) or [contribute](https://p.uber.com/base-code).

**Base** is a design system comprised of modern, responsive, living components. Base Web is the React implementation of Base.

<p align="center">
  <a href="https://baseweb.design">
    <img width="500px" src="https://i.imgur.com/UaRZdTq.png">
  </a>
</p>

## Usage

On npm, you can find Base Web as `baseui`.

Add `baseui` and its peer dependencies to your project:

```bash
# using pnpm
pnpm add baseui@next styletron-react styletron-engine-monolithic

# using npm
npm install baseui@next styletron-react styletron-engine-monolithic
```

```javascript
import { Client as Styletron } from "styletron-engine-monolithic";
import { Provider as StyletronProvider } from "styletron-react";
import { LightTheme, BaseProvider, styled } from "baseui";
import { StatefulInput } from "baseui/input";

const engine = new Styletron();

const Centered = styled("div", {
  display: "flex",
  justifyContent: "center",
  alignItems: "center",
  height: "100%",
});

export default function Hello() {
  return (
    <StyletronProvider value={engine}>
      <BaseProvider theme={LightTheme}>
        <Centered>
          <StatefulInput />
        </Centered>
      </BaseProvider>
    </StyletronProvider>
  );
}
```

Both Base Web and Styletron come with [TypeScript](https://www.typescriptlang.org/index.html).

## Docs

To read the documentation, please visit [baseweb.design](https://baseweb.design). To preview more component examples, please visit [baseweb.design/ladle](https://baseweb.design/ladle).

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