github-corners icon indicating copy to clipboard operation
github-corners copied to clipboard

Could you please publish this to npm?

Open mightyiam opened this issue 8 years ago • 5 comments

mightyiam avatar Mar 05 '17 18:03 mightyiam

This isn't a JS plugin though.

akash-joshi avatar Nov 01 '18 10:11 akash-joshi

It could be though.

Take a look at this project which is also just SVGs: https://www.npmjs.com/package/simple-icons

Then you can use a CDN for free: https://cdn.jsdelivr.net/npm/[email protected]/icons/twitter.svg

styfle avatar Nov 01 '18 13:11 styfle

@mightyiam & @styfle I've made a React component and published it to npm:

https://whatthefoo.github.io/fork-me-on-github/

dreamyguy avatar Jun 19 '19 23:06 dreamyguy

Thank you for letting us know, @dreamyguy .

mightyiam avatar Jun 20 '19 02:06 mightyiam

If you just want to use SVG, you can get it by npm install tholman/github-corners. https://docs.npmjs.com/cli/install

CSS should be available as well, but it is currently combined with the preview page's CSS, so the PR is needed to separate it. https://github.com/tholman/github-corners/blob/02b58a1937f4d4876e9717a2109527a45a6ca467/css/styles.css#L75-L113

ahuglajbclajep avatar May 05 '20 08:05 ahuglajbclajep