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

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.14.0
fi Foundation Icons 3.0
fl Font Logos 0.12
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 5.5.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.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.