lewicons-react
v0.1.0
Published
React components for lewicons
Readme
lewicons-react
React components for lewicons.
Install
npm install lewicons-reactPeer dependency: react >= 18.
Usage
import { User, Bicycle } from 'lewicons-react';
export function Example() {
return (
<>
<User size={24} strokeWidth={2} color="currentColor" />
<Bicycle size={32} className="text-amber-400" />
</>
);
}Props
| Prop | Type | Default |
|------|------|---------|
| size | number \| string | 24 |
| strokeWidth | number \| string | 2 |
| color | string | currentColor |
| absoluteStrokeWidth | boolean | false |
All standard SVG attributes are forwarded to the root <svg> element.
License
MIT
