Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gravity-ui/icons


https://github.com/gravity-ui/icons

icons

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# @gravity-ui/icons · [![npm package](https://img.shields.io/npm/v/@gravity-ui/icons)](https://www.npmjs.com/package/@gravity-ui/icons) [![CI](https://img.shields.io/github/actions/workflow/status/gravity-ui/icons/.github/workflows/ci.yml?branch=main&label=CI&logo=github)](https://github.com/gravity-ui/icons/actions/workflows/ci.yml?query=branch:main) [![storybook](https://img.shields.io/badge/Storybook-deployed-ff4685)](https://preview.gravity-ui.com/icons/)

A pack of Gravity UI icons. Icons have two sources, SVG and React. Have a look at [showcase](https://preview.gravity-ui.com/icons/) page.

## Install

```shell
npm install --save-dev @gravity-ui/icons
```

## Usage

### React

```js
import Cloud from '@gravity-ui/icons/Cloud';
```

or

```js
import {Cloud} from '@gravity-ui/icons';
```

### SVG

> You might need an appropriate loader for this

```js
import cloudIcon from '@gravity-ui/icons/svgs/cloud.svg';
```