wagtail-icon-picker

Wagtail CMS icon picker including Bootstrap Icons, Boxicons, Icofont & Font awesome libraries.


License
MIT
Install
pip install wagtail-icon-picker==0.0.8

Documentation

Wagtail-Icon-Picker

Introducing panels for selecting icons in Wagtail.

Screen1

Features

  • BootstrapIconPickerPanel, BoxiconsPickerPanel, FontAwesomeIconPickerPanel, IcofontIconPickerPanel can be used in your edit handler
  • BootstrapIconPickerBlock, FontAwesomeIconPickerBlock, BoxIconPickerBlock, IcofontPickerBlock for usage in a StreamField
  • Includes Bootstrap Icons, FontAwesome, Boxicons & Icofont icons libraries
  • A custom db field for improved validation

Example

from wagtail.core.models import Page

from wagtail_icon_picker.fields import IconField
from wagtail_icon_picker.edit_handlers import IcofontIconPickerPanel


class MyPage(Page):
    icon = IconField()

    content_panels = Page.content_panels + [
        IcofontIconPickerPanel('icon'),
    ]

Documentation

Contributing

Want to contribute? Awesome. Just send a pull request.

License

Wagtail-Icon-Picker is released under the MIT License.