A list of Wagtail’s Streamfield Icons

So in this example:

class TwitterBlock(blocks.StructBlock):
    twitter_box_username = blocks.CharBlock(required=True)
    twitter_box_widget_id = blocks.CharBlock(required=True)
    twitter_box_tweet_limit = blocks.CharBlock(required=True,max_length=2)
   

    class Meta:
        template = 'appname/blocks/twitter.html'
        icon = 'cogs'
        label = 'Twitter Widget'

Replace the ‘icon’ value with one from below.

wagtail
wagtail-inverse
cogs
doc-empty-inverse
doc-empty
edit
arrow-up
arrow-down
search
cross
folder-open-1
folder-inverse
mail
arrows-up-down
locked
unlocked
arrow-right
doc-full / file-text-alt
image / picture
doc-full-inverse
folder
plus
tag
folder-open-inverse
cog
tick
user
arrow-left
tick-inverse
plus-inverse
snippet
bold
italic
undo
repeat
list-ol
list-ul
link
radio-full
radio-empty
arrow-up-big
arrow-down-big
group
media
horizontalrule
password
download
order
grip
home
order-down
order-up
bin
spinner
pick
redirect
view
no-view
collapse-up
collapse-down
help
warning
success
date
time
form
site
placeholder
pilcrow
title
code
openquote

Advertisements

2 thoughts on “A list of Wagtail’s Streamfield Icons

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.