@mozaic-ds/icons-react
Version:
ADS icons for React usage
62 lines (37 loc) • 1.82 kB
Markdown
`ads-icons-react` is a React library is tailored for integrating Adeo Design System icons into React applications.
> [!WARNING]
> Note that this repository only contains the version designed for use with **React 18**.
In order to use **ADS-Icons-React** in your **React** project, you must first install the [npm package](https://www.npmjs.com/package/@mozaic-ds/icons-react):
```bash
npm install @mozaic-ds/icons-react
```
Or with **Yarn**:
```bash
yarn add @mozaic-ds/icons-react
```
After installing **ADS-Icons-React**, you need to set up the library.
Then you can start importing your component:
If you do not want to use all the components of the library, but only some of them, you can proceed as follows:
```javascript
// In the entry point file of your application - usually src/main.js
import { A11y20, Check24 } from '@mozaic-ds/icons-react';
```
Provide step-by-step instructions on how to get a development environment running.
```bash
git clone git@github.com:adeo/ads-icons-react.git
cd ads-icons-react
npm install
npm run icons:build
npm run build
```
Have a bug or a feature request? Please let us know by [opening a new issue](https://github.com/adeo/ads-icons-react/issues/new/choose) and using the correct template associated with your request.
However if you are ever able to contribute to help us fix bugs, build new features, or help us improve the project documentation, feel free to do it!
Developers interested in contributing should read the [Contributing guidelines](https://github.com/adeo/ads-icons-react/blob/main/CONTRIBUTING.md) and the [Code of conduct](https://github.com/adeo/ads-icons-react/blob/main/CODE_OF_CONDUCT.md)