3.18.0 • Published 21 days ago

@artsy/icons v3.18.0

Weekly downloads
-
License
MIT
Repository
-
Last release
21 days ago

@artsy/icons

@artsy/icons is the canonical source for icons used at Artsy, and serves as an automatic build pipeline for generating JSX representations of .svg sources that can easily be imported into React apps.

You can view available icons here and click to copy the import path of the desired icon.

Meta

Build Status

Installation and Usage

yarn add @artsy/icons

And then later, import icons like so:

import ArtsyLogo from "@artsy/icons/ArtsyLogo"

const MyApp = () => {
  return <ArtsyLogo />
}

Alternatively, visit the docs and select individual icons, which will copy the import path to your clipboard.

Adding New Icons

We've setup the repo so that adding new icons and publishing to NPM is as automated as can be:

  1. Clone the repo: git clone https://github.com/artsy/icons.git
  2. Create a new branch: git checkout -b add-new-icon
  3. Copy your new icon .svg file into the src folder (and follow pre-existing naming conventions! :pray:)
  4. Push your branch up to GitHub and open a PR. This should automatically be tagged with a minor label indicating a new feature addition
  5. Merge PR. This will automatically generate JSX components and publish to NPM, and additionally update the docs
  6. Once published, a new comment will be added to the PR announcing the new version.

Development

yarn install
yarn build
yarn docs
3.18.0

21 days ago

3.17.0

3 months ago

3.16.0

4 months ago

3.15.0

4 months ago

3.12.0

4 months ago

3.14.0

4 months ago

3.13.0

4 months ago

3.9.0

9 months ago

3.11.0

7 months ago

3.10.0

9 months ago

3.8.1

1 year ago

3.4.0

1 year ago

3.3.1

1 year ago

3.2.2

1 year ago

3.3.0

1 year ago

3.8.0

1 year ago

3.7.0

1 year ago

3.6.1

1 year ago

3.6.0

1 year ago

3.5.1

1 year ago

3.5.0

1 year ago

3.2.1

1 year ago

3.2.0

1 year ago

1.0.0

2 years ago

3.1.3

2 years ago

3.1.2

2 years ago

3.1.1

2 years ago

3.0.2

2 years ago

3.1.0

2 years ago

3.0.1

2 years ago

3.1.7

1 year ago

3.1.6

1 year ago

3.1.5

1 year ago

3.1.4

1 year ago

3.0.0

2 years ago

0.0.1

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.0.2

2 years ago

0.4.0

2 years ago

0.0.0

2 years ago