genshin-icon
v1.0.20-alpha2
Published
[](https://ci.cchampou.me/cchampou/genshin-icon)
Readme
Genshin Icons
genshin-icons is a set of React Components containing Genshin icons in SVG.
![]()
How to install
yarn add genshin-iconsor
npm install genshin-iconsHow to use
import { Anemo } from 'genshin-icons';
const App = () => {
return (
<div>
<Anemo />
{/* You can specify color and size (in px) */}
<Anemo size="100" color="purple" />
{/* You can also specify size in % (for the width) */}
<Anemo size="30%" color="purple" />
</div>
);
}Available components
- Anemo
- Cryo
- Dendro
- Electro
- Geo
- Hydro
- Pyro
