@rivo-icons/solid
v0.0.4
Published
Free, open-source SVG icons for Solid.js — currentColor, TypeScript, tree-shakeable
Maintainers
Readme
@rivo-icons/solid
Free, open-source SVG icons for Solid.js. 46 hand-crafted icons with
currentColorsupport, TypeScript types, and tree-shaking.
Install
npm install @rivo-icons/solid
# or
pnpm add @rivo-icons/solid
# or
yarn add @rivo-icons/solidUsage
import { Setting, Dollar, Clock } from '@rivo-icons/solid'
export default function App() {
return (
<div>
<Setting />
<Dollar size={32} />
<Clock size={20} color="#6366f1" />
</div>
)
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
| size | number \| string | 24 | Width and height in px |
| color | string | currentColor | SVG stroke / fill color |
| strokeWidth | number \| string | 1.5 | Stroke width (outline icons) |
| class | string | — | CSS class attribute |
Links
License
MIT
