Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/digitalservicebund/icons

Material UI icons as React components (npm package)
https://github.com/digitalservicebund/icons

icons mui

Last synced: about 1 month ago
JSON representation

Material UI icons as React components (npm package)

Awesome Lists containing this project

README

        

# Icons

[Google's Material UI icons](https://mui.com/material-ui/material-icons/) re-packaged as a set of **React components** without being dependent on [Emotion](https://emotion.sh/).

## Changelog
[Please read here](CHANGELOG.md)

## Installation

```sh
npm install --save @digitalservicebund/icons
```

## Usage

```jsx
import WarningAmberIcon from "@digitalservicebund/icons/WarningAmber";

```

## Accessibility

By default, the icons provided are hidden from screen readers (using `aria-hidden="true"`). It is assumed that icons are used purely for decorative purposes. That they only ever accompany a text that is meaningful even without an icon.

If this is not the case and the icon has sematic meaning, you have to take extra steps. Sara Soueidan shows some techniques regarding [Accessible Icon Buttons](https://www.sarasoueidan.com/blog/accessible-icon-buttons/).

Just in case you make an icon visible to screen readers, icons also have an appropriate ARIA role (`role="graphics-symbol"`).