# @dhis2/ui-constants

> Constants used in the UI libs

Latest version **10.19.0** (published 2026-09-28) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @dhis2/ui-constants
pnpm add @dhis2/ui-constants
yarn add @dhis2/ui-constants
bun add @dhis2/ui-constants
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 10.19.0 |
| Published | 2026-09-28 |
| First published | 2020-03-19 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 28.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 54 |
| Author | Viktor Varland |
| Maintainers | dhis2-bot, amcgee |

## Links

- npm: https://www.npmjs.com/package/@dhis2/ui-constants
- Repository: https://github.com/dhis2/ui
- Homepage: https://github.com/dhis2/ui#readme
- Issues: https://github.com/dhis2/ui/issues
- npm.io page: https://npm.io/package/@dhis2/ui-constants

## Dependencies (1)

- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2

## Recent versions

- 10.19.0 (latest) — 2026-09-28
- 10.16.3-alpha.1 (alpha) — 2026-06-10
- 9.11.1-beta.11 (beta) — 2024-08-08
- 8.8.0 (next) — 2023-02-02
- 6.25.3 (release-6.x) — 2021-10-06
- 10.18.0 — 2026-09-25
- 10.17.0 — 2026-07-20
- 10.16.5 — 2026-07-20
- 10.16.4 — 2026-06-30
- 10.16.3 — 2026-06-11
- 10.16.2 — 2026-06-02
- 10.16.1 — 2026-05-29
- 10.16.0 — 2026-05-26
- 10.15.1 — 2026-05-20
- 10.15.0 — 2026-05-19
- … 477 more at https://npm.io/package/@dhis2/ui-constants/versions

## README

# `@dhis2/ui-constants`

This package provides access to shared constants, such as colors, spacers and elevation values. They are used across our frontend components and can be used directly in applications as well.

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