Skip to content
F

fantasticon

Icon font generation tool

by tancrediFree

#288in UI Libraries
0In stores

Description

Fantasticon is a command-line tool and JavaScript API that generates web-font icon kits from SVG files. You point it at a folder of SVGs and…

Highlights

  • Generates icon fonts from a folder of SVG files
  • TypeScript types and JSON code-point maps
  • Command-line tool and JavaScript API
  • Configuration file for advanced options
  • Namespaced icon names from folder paths

Ratings & Reviews

No ratings yet

Be the first to rate fantasticon.

People also visit

T

@twbs/fantasticon

Icon font generation tool

UI Libraries
Launch
W

@wkovacs64/add-icon

CLI tool to download and transform icons from Iconify

UI Libraries
Launch
F

Fontello

Tool to build custom fonts with icons, also open source

Design
Launch
F

fontawesome

Get the Font Awesome unicode character by the icon name

UI Libraries
Launch
S

styled-icons

Icons from packs like Font Awesome, Material, Octicons, Feather, Icomoon

UI Libraries
Launch
F

FontGlyph

Free In-Browser SVG to WOFF2 Web Font Converter

Design
Launch

fantasticon FAQ

What does fantasticon do?

It generates web-font icon kits from SVG files using a command-line tool. It also outputs TypeScript types and JSON maps of code points.

Can I use it from code?

Yes. The README covers a JavaScript API with simple usage and a list of options.

Which options need a config file?

formatOptions, pathOptions, getIconId and templates cannot be passed to the CLI directly, so set them in a configuration file or through the JavaScript API.

How are icon names created?

From the relative path and file name of each SVG. A file in a social folder, for example, becomes social-facebook with the selector .icon.icon-social-facebook.

Can I use the output in mobile apps?

The README says you can combine the generated TTF and JSON files, which map icon names to code points, in mobile apps.

What are the best fantasticon alternatives?

Popular alternatives to fantasticon include @twbs/fantasticon, @wkovacs64/add-icon and fontawesome. See all fantasticon alternatives

Developer Stuff

Badges