480-Design / Solar-Icon-Set-React

Solar Icon Set in react
GNU General Public License v3.0
14 stars 4 forks source link

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.

Solar Icon Set

Install

npm install solar-icon-set

Usage

import * as SolarIconSet from "solar-icon-set";

function App() {
  return <SolarIconSet.Document color="#1C274C" size={24} iconStyle="Bold" />;
}

or

import { Document } from "solar-icon-set/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