Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gravity-ui/icons
https://github.com/gravity-ui/icons
icons
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gravity-ui/icons
- Owner: gravity-ui
- License: mit
- Created: 2022-11-14T14:04:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T15:44:35.000Z (4 months ago)
- Last Synced: 2024-10-01T13:09:24.085Z (3 months ago)
- Topics: icons
- Language: TypeScript
- Homepage: https://preview.gravity-ui.com/icons/
- Size: 1.72 MB
- Stars: 55
- Watchers: 0
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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';
```