@hackclub/icons
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@hackclub/icons

Hack Club’s icons are a superset of Spectrum’s incredible collection (also published as spectrum-icons). Designed for use with our Design System.

See them all

Usage

npm i @hackclub/icons
import React from 'react'
import Icon from '@hackclub/icons'

export default () => (
  <div style={{ color: 'hotpink' }}>
    <Icon glyph="challenge" size={128} />
    <Icon glyph="event-code" size={64} />
    <Icon glyph="important" size={32} />
  </div>
)

Development Setup

  1. Clone & enter the repo.
$ git clone https://github.com/hackclub/icons.git
$ cd icons
  1. Install dependencies.
$ npm install
  1. Setup docs (optional, do this if you’ve added icons).
npm run prepare
npm run docs
  1. Run locally.
npm run dev

Keywords

Install

npm i @hackclub/icons@0.0.2

Version

0.0.2

License

BSD-3-Clause

Unpacked Size

640 kB

Total Files

86

Last publish

Collaborators

  • cfanoulis
  • lachlanjc
  • maxwofford
  • matthewstanciu
  • uanirudhx
  • sampoder