--- layout: documentation doc-tab: elements doc-subtab: icon --- {% include subnav-elements.html %}

Icons

Bulma is compatible with Font Awesome icons.


Because the icons can take a few seconds to load, and because you want control over the space the icons will take, you can use the icon class:

{% highlight html %} {% endhighlight %}

The icon container will take up exactly 24 x 24 pixels. The icon itself is sized at 21px.


Sizes

Font Awesome icons use a font-size of 28px by default, and are best rendered when using multiples of 7.

The Bulma icon container is always slightly bigger than the font-size used:

Class Font-size Container size
icon is-small 14px 16x16px
icon 21px 24x24px
icon is-medium 28px 32x32px
icon is-large 42px 48x48px