{"repo":"lachlanjc/supercons","free":true,"listed":false,"github":"https://github.com/lachlanjc/supercons","clone":"git clone https://github.com/lachlanjc/supercons.git","description":"A friendly, open source React iconset","language":"TypeScript","stars":208,"topics":["icons","icon-pack","react","react-icons"],"license":"BSD-3-Clause","category":"ui-components","readme_excerpt":"Supercons A friendly set of open source React icons. [→ Preview & search the iconset ][docs] [docs]: https://supercons.vercel.app Massive credit to @superbryntendo for the original set of icons & aesthetic inspiration. Predecessor projects: spectrum-icons, @hackclub/icons Usage or if you want to import all icons at once (worse for bundle size): Built with/supports TypeScript. Props Prop Type Default Details ------- ---------------- ------- --------------------- glyph String, required like See [docs] size Number or string 32 Sets width & height as React component svg Must render svg tag You can also pass any other props. Remember to make your icons accessible with aria-label or title , use aria-hidden if they’re purely decorative, etc. Development setup 1. Clone & enter the repo. 2. Install dependencies. 3. After making changes to icons, build the library. 4. Run docs locally. To-do list - [x] Drop PropTypes for TypeScript (thanks @anirudhb!) - [x] Use Microbundle for build - [ ] Allow tree-shaking by programatically generating a component for each icon - [x] Forward refs (with proper TypeScript support) - [x] Add more icons","default_branch":null,"files":null,"tree":[],"storefront":"/r/lachlanjc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lachlanjc/supercons/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}