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 69K
  • Win 46K
  • Mac 10K
  • Linux 12K
Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14
Windows 10 12 15 12 17 20 25 20 17 15 11 12 19 24 24 21 17 17 9 13 12 24 20 17 15 14 19 20 23 20 25 21 24 13 21 18 13 17 24 11 29 17 20 23 20 14
Mac 3 2 4 4 2 3 4 1 4 3 3 5 3 2 4 4 2 3 2 0 4 2 2 7 4 2 2 0 1 8 5 5 2 3 5 1 1 2 4 1 3 6 1 4 2 4
Linux 2 4 5 5 5 7 1 4 7 8 6 3 6 6 5 4 6 7 4 4 2 7 6 6 3 4 8 4 3 5 3 4 6 5 5 4 6 5 7 4 4 4 6 6 5 10

Readme

Source
raw.​githubusercontent.​com

sublime-icon-fonts

The MIT License Package Control GitHub release CircleCI

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.