solom-icon
v1.0.13
Published
Easily include custom icons in your React projects with **solom-icons**. This package allows you to import only the icons that your project uses, leveraging ES6 imports for efficiency and flexibility.
Downloads
134
Readme
Solom Icons
Easily include custom icons in your React projects with solom-icons. This package allows you to import only the icons that your project uses, leveraging ES6 imports for efficiency and flexibility.
Installation
To install Solom Icons, run:
npm install solom-icons --save
or
yarn add solom-icons
Example Usage
React
Import any icon you need from the package. All icons are prefixed with So
for easy identification.
import { SoProfile, SoBell } from "solom-icons";
function MyComponent() {
return (
<div>
<SoProfile />
<SoBell />
</div>
);
}
Vue
Import any icon you need from the package. All icons are prefixed with So
for easy identification.
<template>
<div>
<SoHome class="size-6 text-blue-500" />
<p>...</p>
</div>
</template>
<script setup>
import { SoHome } from "solom-icons";
</script>