1.0.0 • Published 3 months ago
react-solar-icons v1.0.0
Solar Icon Set
Solar Icon Set - free giant pack of icons. Drawn from scratch. Six styles, perfect balance, we`ve got everything You could ever need in React.
Install
npm install solar-icon-set
Usage
import * as SolarIconSet from "react-solar-icons";
function App() {
return <SolarIconSet.Document color="#1C274C" size={24} iconStyle="Bold" />;
}
or
import { Document } from "react-solar-icons/school";
function App() {
return <Document color="#1C274C" size={24} iconStyle="Bold" />;
}
Prop Types
Property | Type | Required | Default | Description |
---|---|---|---|---|
color | String | No | #1C274D | Override the icon's fill color |
size | Number | No | 16px | Change icon size |
autoSize | Boolean | No | false | Enable automatic resizing |
svgProps | SVGSVGElement | No | undefined | SVG default properties |
iconStyle | Broken , LineDuotone , Linear , Outline , Bold , BoldDuotone | No | Linear | Choose one of the styles |
1.0.0
3 months ago