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

Icon Fonts

by idleberg ALL

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

Details

Installs

  • Total 66K
  • Win 45K
  • Mac 10K
  • Linux 12K
May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23
Windows 13 21 11 22 12 12 18 15 16 22 14 29 15 13 23 22 23 17 22 12 12 18 18 16 12 13 14 16 22 24 22 21 19 15 15 13 31 24 17 21 10 16 17 12 15 24
Mac 1 2 2 3 6 2 1 1 3 4 0 2 4 1 0 4 7 7 2 1 2 4 4 7 1 2 1 4 7 3 6 1 4 3 1 5 0 2 3 4 1 3 2 1 2 1
Linux 2 6 5 4 3 6 8 2 2 2 3 5 8 4 10 3 4 8 5 2 2 9 5 5 3 5 6 6 3 8 6 5 2 2 5 4 4 4 4 6 3 4 3 7 7 3

Readme

Source
raw.​githubusercontent.​com

sublime-icon-fonts

The MIT License Package Control GitHub release

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.15.3
fl Font Logos 0.12
glyphicon Bootstrap Glyphicons 3.3.7
icono Icono 1.3.0
ion Ionicons 2.0.1
mdi Material Design Icons 5.9.55
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.2
pf PaymentFont 1.2.5
ri RemixIcon 2.5.0
st Stack Icons 1.0.0
typcn Typicons 2.1.1
wi Weather Icons 2.0.12
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.