# @ui5/webcomponents-icons

> UI5 Web Components: webcomponents.SAP-icons

Latest version **2.29.0** (published 2026-11-18) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @ui5/webcomponents-icons
pnpm add @ui5/webcomponents-icons
yarn add @ui5/webcomponents-icons
bun add @ui5/webcomponents-icons
```

## Health

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

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

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.29.0 |
| Published | 2026-11-18 |
| First published | 2019-12-02 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 5.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1795 |
| Author | SAP SE |
| Maintainers | sap-ospo-admin, ui5-bot |
| Keywords | openui5, sapui5, ui5 |

## Links

- npm: https://www.npmjs.com/package/@ui5/webcomponents-icons
- Repository: https://github.com/UI5/webcomponents
- Homepage: https://github.com/UI5/webcomponents#readme
- Issues: https://github.com/UI5/webcomponents/issues
- npm.io page: https://npm.io/package/@ui5/webcomponents-icons

## Dependencies (1)

- [@ui5/webcomponents-base](https://npm.io/package/@ui5/webcomponents-base.md) 2.29.0

## Recent versions

- 2.29.0 (latest) — 2026-11-18
- 2.29.0-rc.1 (next) — 2026-11-10
- 2.16.6 (hotfix-2.16) — 2026-11-06
- 2.24.3 (hotfix-2.24) — 2026-10-27
- 1.24.32 (v1) — 2026-10-15
- 2.25.5 (hotfix-2.25) — 2026-10-05
- 2.15.6 (hotfix-2.15) — 2026-07-29
- 2.23.3 (hotfix-2.23) — 2026-07-08
- 2.22.1 (hotfix-2.22) — 2026-06-19
- 2.20.5 (hotfix-2.20) — 2026-06-12
- 0.0.0-10f3c0dc7 (experimental) — 2026-06-03
- 2.21.2 (hotfix-2.21) — 2026-05-11
- 2.10.1 (hotfix-2.10) — 2026-05-11
- 2.14.1 (hotfix-2.14) — 2026-05-11
- 2.19.4 (hotfix-2.19) — 2026-05-11
- … 717 more at https://npm.io/package/@ui5/webcomponents-icons/versions

## README

# ![UI5 icon](https://raw.githubusercontent.com/UI5/webcomponents/main/docs/images/UI5_logo_water.png)UI5 Web Components - Icons

[![npm Package Version](https://badge.fury.io/js/%40ui5%2Fwebcomponents.svg)](https://www.npmjs.com/package/@ui5/webcomponents)

Provides assets for the rich `SAP-icons` icon collection.

## Provided icons

| Icon asset                | Module import                                            |
|---------------------------|----------------------------------------------------------|
| All icons (~115KB zipped) | `import "@ui5/webcomponents-icons/dist/AllIcons.js";`    |
| Accelerated icon          | `import "@ui5/webcomponents-icons/dist/accelerated.js";` |
| Accept icon               | `import "@ui5/webcomponents-icons/dist/accept.js";`      |
| ...                       | ...                                                      |
| Zoom out icon             | `import "@ui5/webcomponents-icons/dist/zoom-out.js";`    |

*Note:* The `@ui5/webcomponents-icons` package does not provide any web components per se, but rather icon assets,
usable by other web components such as `ui5-icon`. You could import all icons, but it's recommended to import 
just the ones that your app will actually use.

*Note:* For a full list of the icons in the `SAP-icons` collection, click [here](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons).

## Provided assets

```js
import "@ui5/webcomponents-fiori/dist/Assets.js";
```

| Assets           | Module                                           | Notes                                                                                                                                                                                                            |
|------------------|--------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `i18n`           | `@ui5/webcomponents-icons/dist/Assets.js`        | Translations for the tooltips / "aria labels" of several icons                                                                                                                                                   |
## Usage

### No Collection 
As SAP Icons is the default icon collection, you can skip the collection name and just set the name of the icon:

```html
<ui5-icon name="accept"></ui5-icon>
```

The package provides two versions of each icon (SAP Icons v4 and SAP Icons v5). If you don't specify a collection name like in the example above,
the framework will detect the current theme and render the corresponding icon - `SAP Icons v5` for SAP Horizon theme family  (sap_horizon, sap_horizon_dark, etc.), and `SAP Icons v4` for all the rest (sap_fiori_3, sap_fiori_3_dark, etc.).

### Collections `SAP-icon-v4` and `SAP-icon-v5`

In case you want to always display the `SAP Icons v5` icons in all themes, you can set it explicitly via the `SAP-icon-v5` collection name:

```html
<ui5-icon name="SAP-icon-v5/accept"></ui5-icon>
```

The same applies if you want to always display the `SAP Icons v4` icons. You can set it explicitly via the `SAP-icon-v4` collection name:
```html
<ui5-icon name="SAP-icon-v4/accept"></ui5-icon>
```

## Resources
- [UI5 Web Components - README.md](https://github.com/UI5/webcomponents/blob/main/README.md)
- [UI5 Web Components - Home Page](https://ui5.github.io/webcomponents)
- [UI5 Web Components - Using Icons](https://ui5.github.io/webcomponents/docs/getting-started/using-icons/)

## Support
We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/UI5/webcomponents/blob/main/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://ui5-slack-invite.cfapps.eu10.hana.ondemand.com/).

## Contribute
Please check our [Contribution Guidelines](https://github.com/UI5/webcomponents/blob/main/docs/6-contributing/02-conventions-and-guidelines.md).

## License
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/UI5/webcomponents/blob/main/LICENSE.txt) file.

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