Skip to content

A wagtail icon picker package which includes 5 most popular icon libraries Bootstrap Icons, Font Awesome Icons, Boxicons, Icofont and Material Design Icons to easily use those libraries in wagtail pages & django models.

License

Notifications You must be signed in to change notification settings

przemub/wagtail-icon-picker

 
 

Repository files navigation

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.

About

A wagtail icon picker package which includes 5 most popular icon libraries Bootstrap Icons, Font Awesome Icons, Boxicons, Icofont and Material Design Icons to easily use those libraries in wagtail pages & django models.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 75.8%
  • Python 20.1%
  • HTML 4.1%