Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

solar-icon-set

480-Design3.7kGPL-3.01.0.0TypeScript support: included

Solar Icon Set in react

Solar, Icon, Set, react, pack

readme

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