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 50K
  • Win 33K
  • OS X 8K
  • Linux 9K
Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 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
Windows 23 22 25 16 21 12 18 27 30 33 28 26 12 22 32 26 28 22 24 17 23 26 31 23 20 25 26 17 33 25 27 20 19 15 19 17 28 22 26 22 21 19 23 26 25 20
OS X 5 4 3 1 4 6 3 5 8 3 5 3 1 2 4 4 5 5 6 2 0 1 5 4 7 4 4 0 2 1 3 6 6 3 2 3 4 4 2 3 2 0 2 4 3 5
Linux 11 10 10 4 2 1 10 8 5 7 3 7 5 3 7 9 7 11 8 4 8 8 8 6 8 7 6 10 3 8 5 12 2 9 7 5 11 9 4 5 8 4 7 5 9 5

Readme

Source
raw.​githubusercontent.​com

sublime-icon-fonts

The MIT License Package Control GitHub release CircleCI

Note: As of v6.1, this package supports all Font Awesome v5 icons. If you need to continue the old Font Awesome v4 icons, please install the “Icon Fonts (Legacy)” package via Package Control!

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 using the designated prefix will complete to a tag containing the icon class. Exceptions are fa-layers, fa-layers-counter, fa-layers-text and fa-layers (<span>).

Prefixes

Prefix Icon Font Version
ai Android Icons 1.0.0
cc Creative Commons Icon Font 1.2.1
bx BoxIcons -
dashicons WordPress Dashicons
devicons Devicons 1.8.0
el Elusive Icons 2.0.0
fas,far,fab Font Awesome Pro 5.10.1
fi Foundation Icons 3.0
fl Font Logos 0.11
geomicon Geomicons Open 2.0.0
glyphicon Bootstrap Glyphicons 3.3.7
icono Icono 1.3.0
ion Ionicons 2.0.1
mdi Material Design Icons 3.9.96
mfg MFG Labs Iconset
mfizz Font Mfizz 2.4.1
mio Material Design Icons (Official) 3.0.1
octicon GitHub Octicons 4.1.0
oi Open Iconic 1.1.0
openwebicons OpenWeb Icons 1.6.1
pf PaymentFont 1.2.5
st Stack Icons 1.0.0
typcn Typicons 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!

License

This work is licensed under the The MIT License.

Donate

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