# @enact/ui

> A collection of simplified unstyled cross-platform UI components for Enact

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

## Install

```sh
npm install @enact/ui
pnpm add @enact/ui
yarn add @enact/ui
bun add @enact/ui
```

## Health

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

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 5.6.0 |
| Published | 2026-09-02 |
| First published | 2016-10-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 11 |
| Unpacked size | 1.6 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 345 |
| Maintainers | enact |
| Keywords | framework, toolkit, components, mobile, webOS |

## Links

- npm: https://www.npmjs.com/package/@enact/ui
- Repository: https://github.com/enactjs/enact
- Homepage: https://enactjs.com
- Issues: https://github.com/enactjs/enact/issues
- npm.io page: https://npm.io/package/@enact/ui

## Dependencies (11)

- [ilib](https://npm.io/package/ilib.md) ^14.22.0
- [ramda](https://npm.io/package/ramda.md) ^0.32.0
- [react](https://npm.io/package/react.md) ^19.2.8
- [warning](https://npm.io/package/warning.md) ^4.0.3
- [react-is](https://npm.io/package/react-is.md) ^19.2.8
- [invariant](https://npm.io/package/invariant.md) ^2.2.4
- [react-dom](https://npm.io/package/react-dom.md) ^19.2.8
- [classnames](https://npm.io/package/classnames.md) ^2.5.1
- [prop-types](https://npm.io/package/prop-types.md) ^15.8.1
- [@enact/core](https://npm.io/package/@enact/core.md) ^5.6.0
- [@enact/i18n](https://npm.io/package/@enact/i18n.md) ^5.6.0

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 5.6.0 (latest) — 2026-09-02
- 5.4.4 (latest-5.4) — 2026-05-22
- 5.0.0-rc.1 (next) — 2025-05-29
- 4.7.12 (latest-4.7) — 2024-09-05
- 4.0.15 (latest-4.0) — 2024-05-28
- 4.5.6 (latest-4.5) — 2023-11-30
- 4.0.13 (production) — 2023-11-29
- 3.2.7 (mr-3.2) — 2022-01-17
- 3.4.9-experimental-7 (experimental-latest) — 2021-11-24
- 2.2.0-alpha.1 (agate) — 2018-09-12
- 5.5.2 — 2026-07-08
- 5.5.1 — 2026-06-01
- 5.5.0 — 2026-05-08
- 5.4.3 — 2026-02-26
- 5.4.2 — 2026-01-28
- … 226 more at https://npm.io/package/@enact/ui/versions

## README

# @enact/ui [![npm (scoped)](https://img.shields.io/npm/v/@enact/ui.svg?style=flat-square)](https://www.npmjs.com/package/@enact/ui)

> A set of reusable behaviors and a library of unstyled components for creating Enact themes.

This library contains a set of unstyled components as well as a number of Higher Order Components (HOCs) that implement various usage patterns and behaviors (`Pickable`, `Pressable`, etc.).

## Example

One of the components supplied is `Repeater`. A repeater stamps out copies of a component (the `childComponent` prop) using the elements of an array provided as its `children`:
```
import kind from '@enact/core/kind';
import Repeater from '@enact/ui/Repeater';

const MyApp = kind({
	name: 'MyApp',
	render: () => (
		<Repeater childComponent="div">
			{['One', 'Two', 'Three']}
		</Repeater>
	)
});

export default MyApp;
```

See the documentation for each component for more information.

## Install

```
npm install --save @enact/ui
```

## Copyright and License Information

Unless otherwise specified, all content, including all source code files and documentation files in this repository are:

Copyright (c) 2012-2024 LG Electronics

Unless otherwise specified or set forth in the NOTICE file, all content, including all source code files and documentation files in this repository are: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this content except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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