# sublime-svg-icons
[![The MIT License](https://img.shields.io/badge/license-MIT-orange.svg?style=flat-square)](http://opensource.org/licenses/MIT)
[![Package Control](https://packagecontrol.herokuapp.com/downloads/SVG%20Icon%20Snippets.svg?style=flat-square)](https://packagecontrol.io/packages/SVG%20Icon%20Snippets)
[![GitHub release](https://img.shields.io/github/release/idleberg/sublime-svg-icons.svg?style=flat-square)](https://github.com/idleberg/sublime-svg-icons/releases)
[![Travis](https://img.shields.io/travis/idleberg/sublime-svg-icons.svg?style=flat-square)](https://travis-ci.org/idleberg/sublime-svg-icons)
Sublime Text completions for a variety of popular SVG icons ([see details](https://github.com/idleberg/sublime-svg-icons#prefixes)).
This package is also available for [Atom](https://github.com/idleberg/atom-svg-icons) and [Visual Studio Code](https://github.com/idleberg/vscode-svg-icons)
![Screenshot](https://raw.githubusercontent.com/idleberg/sublime-svg-icons/master/screenshot.gif)
*See it in action (theme is [Hopscotch](https://github.com/idleberg/Hopscotch))*
## Installation
### Package Control
1. Make sure you already have [Package Control](https://packagecontrol.io/) installed
2. Choose *“Install Package”* from the Command Palette (Super+Shift+P)
3. Select *“SVG Icon Snippets”* and press Enter
### GitHub
1. Change to your Sublime Text `Packages` directory
2. Clone repository `git clone https://github.com/idleberg/sublime-svg-icons "SVG Icon Snippets"`
## Usage
Snippets are limited to the `html` scope. Typing the class name of an icon using the designated prefix will complete to a SVG tag for the icon.
### Prefixes
| Prefix | SVG Icons | Version |
|----------------|-------------------------------------|---------|
| `bi` | [Bytesize Icons][bi] | 1.4 |
| `ei` | [Evil Icons][ei] | 1.8.0 |
| `feather` | [Feather][feather] | 4.24.0 |
| `octicon` | [GitHub Octicons][octicon] | 6.0.1 |
| `oi` | [Open Iconic][oi] | 1.1.0 |
| `se` | [Speakemoji][se] | 1.0 |
| `si` | [SmartIcons Glyphs][si] | 1.1 |
| `tabler` | [Tabler Icons][tabler] | 1.30.0 |
| `teenyicons` | [Teenyicons][teenyicons] | 0.4.0 |
## License
This work is licensed under the [The MIT License](LICENSE).
[bi]: https://github.com/danklammer/bytesize-icons
[ei]: https://github.com/outpunk/evil-icons
[feather]: https://github.com/colebemis/feather
[octicon]: https://github.com/github/octicons
[oi]: https://github.com/iconic/open-iconic
[se]: https://github.com/rizalrenaldi/speakemoji
[si]: https://github.com/frexy/glyph-iconset
[tabler]: https://github.com/tabler/tabler-icons
[teenyicons]: https://github.com/teenyicons/teenyicons