Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jetbrains/icons
A set of icons used in JetBrains' web applications
https://github.com/jetbrains/icons
icons jetbrains-ui svg
Last synced: 4 days ago
JSON representation
A set of icons used in JetBrains' web applications
- Host: GitHub
- URL: https://github.com/jetbrains/icons
- Owner: JetBrains
- License: other
- Created: 2017-07-27T12:25:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-28T18:30:12.000Z (24 days ago)
- Last Synced: 2024-12-18T01:19:19.413Z (4 days ago)
- Topics: icons, jetbrains-ui, svg
- Language: JavaScript
- Homepage:
- Size: 2.79 MB
- Stars: 57
- Watchers: 22
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# JetBrains icons
[![official JetBrains project](http://jb.gg/badges/official-flat-square.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
A set of icons used in JetBrains' web applications.
## Installation
```sh
npm install @jetbrains/icons
```## Usage
You might need to set up appropriate infrastracture to use icons in your app. We recommend to use [webpack](https://webpack.github.io/) and [svg-sprite-loader](https://github.com/kisenka/svg-sprite-loader) in order to use this icons in your app.
It is also possible to import icon as a JS file without setting up any loaders:
`import lockIconSource from '@jetbrains/icons/lock'`## Contributing
To add an icon, one should just create an `.svg` file in the "src" directory. All icons are processed with SVGO on publish. Even though SVGO removes pretty every unnecessary attribute, please ensure that file doesn't contain generated IDs, ``-element or any other junk.
Every SVG file should have "width" and "height" attributes set.Run `npm start` command to see the demo page.