Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cchampou/genshin-icon

A set of Genshin Impact icons in React components.
https://github.com/cchampou/genshin-icon

babel babel7 reactjs

Last synced: 4 days ago
JSON representation

A set of Genshin Impact icons in React components.

Awesome Lists containing this project

README

        

# Genshin Icons

[![Build Status](https://ci.cchampou.me/api/badges/cchampou/genshin-icon/status.svg)](https://ci.cchampou.me/cchampou/genshin-icon)

`genshin-icons` is a set of React Components containing Genshin icons in SVG.

![Example](https://github.com/cchampou/genshin-icon/blob/master/sample.png)

## How to install

```shell script
yarn add genshin-icons
```
or
```shell script
npm install genshin-icons
```

## How to use
```jsx
import { Anemo } from 'genshin-icons';

const App = () => {

return (



{/* You can specify color and size (in px) */}

{/* You can also specify size in % (for the width) */}


);
}
```
## Available components
- Anemo
- Cryo
- Dendro
- Electro
- Geo
- Hydro
- Pyro