xi-icons
v1.0.2
Published
Build your own icons library for use in your React projects easily
Downloads
3
Readme
xi-icons
Use my custom icons in your projects easily with xi-icons
, which
utilizes ES6 imports that allows you to include only the icons that your project is using.
Installation
npm install xi-icons --save
Usage example
import { XiAllIcon, XiIcon } from "xi-icons/dist";
function App() {
return (
<>
<div className="App">
<XiIcon name="home" />
<XiIcon name="search" />
<XiIcon name="profile" />
<XiIcon name="shop" />
<XiIcon name="cart" />
</div>
<XiAllIcon />
</>
);
}
License
MIT Copyright (c) Hoang Hieu Trung 2023