Skip to content

Nickolaus/MultipleIconFontsBundle

Repository files navigation

MultipleIconFontsBundle

SymfonyBundle using multiple icon fonts + Twig Function

Currently bundled icon-font-sets:

Usage:

Unitl a tagged release is published use:

composer require nickolaus/multiple-icon-fonts-bundle:dev-master

Or config via composer.json

{
    "require": {
        "nickolaus/multiple-icon-fonts-bundle": "dev-master"
    }
}

Twig function calls:

{{ icon('title', 'fontset', 'icon-attributes' }}
{{ icon_fontawesome('title', 'icon-attributes' }}
{{ icon_glyphicon('title', 'icon-attributes' }}
{{ icon_material_design('title', 'icon-attributes' }}
{{ icon_ionicons('title', 'icon-attributes' }}

All icon-attributes are prefixes with icon-

Valid icon attributes are:

  • in progress....

Planned Features:

  • octicons intetration
  • foundation-icons interation

Known Issues:

  • css classes for rotating are not working on all font-sets

Thanks to:

About

SymfonyBundle using multiple icon fonts + Twig Function

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published