ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Icon Fonts

by idleberg ST2/ST3

Completions for popular icon fonts such as Font Awesome, Glyphicons and many more!

Details

Installs

  • Total 24K
  • Win 15K
  • OS X 5K
  • Linux 4K
Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5
Windows 44 43 26 72 75 101 49 34 18 17 19 25 36 30 28 13 15 16 23 28 28 13 34 21 14 28 22 26 37 28 16 15 28 30 30 23 20 12 21 29 21 29 37 25 23 25
OS X 8 23 11 16 31 45 12 7 4 4 6 2 5 3 8 3 3 4 7 4 6 5 2 3 2 3 7 8 6 7 3 6 7 5 5 4 7 2 4 8 5 5 6 8 4 2
Linux 8 11 5 9 22 24 13 8 3 9 7 8 6 7 11 2 3 7 6 9 6 4 4 3 7 4 3 4 9 8 7 6 5 6 9 9 5 1 5 11 6 10 10 7 4 4

Readme

Source
raw.​githubusercontent.​com

sublime-icon-fonts

The MIT License Package Control GitHub release Travis

Sublime Text snippets for several popular icon fonts (see details).

This package is also available for Atom and Visual Studio Code.

Screenshot

Screenshot using the Hopscotch color scheme

Installation

Package Control

  1. Make sure you already have Package Control installed
  2. Choose “Install Package” from the Command Palette (Super+Shift+P)
  3. Select “Icon Fonts” and press Enter

GitHub

  1. Change to your Sublime Text Packages directory
  2. Clone repository git clone https://github.com/idleberg/sublime-icon-fonts "Icon Fonts"

Usage

Snippets are limited to the html and css|less|sass|scss|stylus scopes, which might not be activated in your auto_complete_selector user preferences by default. However, you can still force the completion popup to show by pressing Ctrl+Space.

Typing the class name of an icon will complete to a tag containing the icon's class — exceptions are fa-stack (completes to <span>) and fa-ul (completes to <ul>). Press Tab to jump between tag name, classes and the space between tags.

Prefixes

Prefix Icon Font Version cdnjs jsDelivr
ai Android Icons 1.0.0 🚫 🚫
brandico Brandico Font 🚫 🚫
cc Creative Commons Icon Font 1.2.1
dashicons WordPress Dashicons 🚫 🚫
devicons Devicons 1.8.0
el Elusive Icons 2.0.0 🚫 🚫
fa Font Awesome 4.7.0
fi Foundation Icons 3.0
fl Font Linux 0.9 🚫 🚫
geomicon Geomicons Open 2.0.0 🚫
glyphicon Bootstrap Glyphicons 3.3.6 🚫 🚫
icofont ShapeBootstrap IcoFont 1.0.0b 🚫 🚫
icono Icono 1.3.0 🚫
ion Ionicons 2.0.1 🚫 🚫
mdi Material Design Icons 1.7.22 🚫
mfg MFG Labs Iconset 🚫 🚫
mfizz Font Mfizz 2.3.0 🚫
octicon GitHub Octicons 4.1.0 🚫 🚫
oi Open Iconic 1.1.0 🚫
openwebicons OpenWeb Icons 1.4.3
pf PaymentFont 1.1.2 🚫
ratchicon Ratchicons 2.0.2
st Stack Icons 1.0.0 🚫 🚫
typcn Typicons 2.0.7 🚫 🚫
ui Semantic UI Icons 2.0.7
wi Weather Icons 2.0.10 🚫
zmdi Material Design Iconic Font 2.2.0 🚫

Several previously supported fonts have been removed and are now available in the SVG Icon Snippets package or the icon fonts legacy package.

Examples:

  • fa-check+Tab completes to <i class="fa fa-check"></i>
  • glyphicon-check+Tab completes to <span class="glyphicon glyphicons-check"></span>
  • well, you get the idea

Snippets also work in the text.css scope, where they complete to the Unicode value of an icon.

Example:

  • fa-check+Tab completes to '\f00c'

These snippets also work for Less, SCSS and Stylus files!

CDNs

If a supported CDN is indicated in the table above, you can use the prefixes cdnjs, jsdelivr, maxcdn to quickly insert a link to the CDN-hosted asset:

Examples:

  • cdnjs-fa+Tab completes to a <link> tag to the Font Awesome style-sheet
  • jsdelivr-fa+Tab completes to a <link> tag to the Font Awesome style-sheet
  • jsdelivr-geomicon+Tab completes to a <script> tag to the Geomicons script
  • maxcdn-fa+Tab completes to a <link> tag to the Font Awesome style-sheet

License

This work is licensed under the The MIT License.

Donate

You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd