@kunalkumar156/aura-icons
Version:
A set of beautiful open-source React SVG icons
91 lines (56 loc) β’ 1.66 kB
Markdown
# @kunalkumar156/aura-icons
A set of beautiful, modern, and customizable **open-source React SVG icons**, crafted with love π and built for seamless integration with **React** and **Next.js**.
## π Installation
Install the package using your preferred package manager:
```bash
npm install @kunalkumar156/aura-icons
# or
yarn add @kunalkumar156/aura-icons
```
## β¨ Usage
Import and use the icons in your React components:
```tsx
import { Bitcoin2 } from "@kunalkumar156/aura-icons";
function App() {
return (
<div>
<Bitcoin2 width={32} height={32} color="red" />
</div>
);
}
```
## π¨ Customization
Each icon is a fully customizable React SVG component. You can style them using:
### β
Props
```tsx
<Bitcoin2 width={40} height={40} color="blue" />
```
### β
Tailwind / `className`
```tsx
<Bitcoin2 className="w-10 h-10 text-purple-600" />
```
All icons use `stroke="currentColor"` and `fill="currentColor"` under the hood β so color will adapt based on your styles.
## π¦ Tree-shaking Friendly
Only import the icons you need β no extra bloat. Every icon is its own file/component.
## π§ͺ Local Testing
If youβre working on the package locally:
- Run `npm run generate` to generate icon components.
- Run `npm run build` to compile the library.
- Link it locally using `npm link`, and then use it in another project with:
```bash
npm link @kunalkumar156/aura-icons
```
## π€ Contributing
Want to add more icons or improve the library?
- Submit a PR
- Or contact [@kunalkumar156](https://github.com/kunalkumar156)
## π License
MIT Β© Kishor Kunal