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

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.6.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 2.6.95
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.5.0
pf PaymentFont 1.2.5
ratchicon Ratchicons 2.0.2
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