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

Buttons

The classic button, in different colors, sizes, and states


{% capture button_example %} {% endcapture %}
{{button_example}}
{% highlight html %} {{button_example}} {% endhighlight %}

Sizes

{% capture button_sizes_example %} Small Normal Medium Large {% endcapture %}
{{button_sizes_example}}
{% highlight html %} {{button_sizes_example}} {% endhighlight %}

Styles

Outlined

{% capture button_outlined_example %} Outlined Outlined Outlined Outlined Outlined {% endcapture %}
{{button_outlined_example}}
{% highlight html %} {{button_outlined_example}} {% endhighlight %}

Inverted (the text color becomes the background color, and vice-versa)

{% capture button_inverted_example %} Inverted Inverted Inverted Inverted {% endcapture %}
{{button_inverted_example}}
{% highlight html %} {{button_inverted_example}} {% endhighlight %}

Invert Outlined (the invert color becomes the text and border colors)

{% capture button_inverted_outlined_example %} Invert Outlined Invert Outlined Invert Outlined Invert Outlined {% endcapture %}
{{button_inverted_outlined_example}}
{% highlight html %} {{button_inverted_outlined_example}} {% endhighlight %}

States

Normal

{% capture button_normal_example %} Normal Normal Normal Normal Normal Normal {% endcapture %}
{{button_normal_example}}
{% highlight html %} {{button_normal_example}} {% endhighlight %}

Hover

{% capture button_hover_example %} Hover Hover Hover Hover Hover Hover {% endcapture %}
{{button_hover_example}}
{% highlight html %} {{button_hover_example}} {% endhighlight %}

Focus

{% capture button_focus_example %} Focus Focus Focus Focus Focus Focus {% endcapture %}
{{button_focus_example}}
{% highlight html %} {{button_focus_example}} {% endhighlight %}

Active

{% capture button_active_example %} Active Active Active Active Active Active {% endcapture %}
{{button_active_example}}
{% highlight html %} {{button_active_example}} {% endhighlight %}

Loading

{% capture button_loading_example %} Loading Loading Loading Loading Loading Loading {% endcapture %}
{{button_loading_example}}
{% highlight html %} {{button_loading_example}} {% endhighlight %}

Disabled

{% capture button_disabled_example %} Disabled Disabled Disabled Disabled Disabled Disabled {% endcapture %}
{{button_disabled_example}}
{% highlight html %} {{button_disabled_example}} {% endhighlight %}

With Font Awesome icons

{% capture button_fa_example %}

GitHub Twitter Save Delete

GitHub GitHub GitHub GitHub

{% endcapture %}
{{button_fa_example}}
{% highlight html %} {{button_fa_example}} {% endhighlight %}

New!

If the button only contains an icon, Bulma will make sure the button remains square, no matter the size of the button or of the icon.

{% capture button_only_icon_example %}

{% endcapture %} {{button_only_icon_example}}
{% highlight html %} {{button_only_icon_example}} {% endhighlight %}

Button group

If you want to group buttons together, use the is-grouped modifier on the field container:

{% capture button_group_example %} {% endcapture %}
{{button_group_example}}
{% highlight html %} {{button_group_example}} {% endhighlight %}

Button addons

If you want to use buttons as addons, use the has-addons modifier on the field container:

{% capture button_addons_example %} {% endcapture %}
{{button_addons_example}}
{% highlight html %} {{button_addons_example}} {% endhighlight %}

Button group with addons

You can group together addons as well:

{% capture button_group_addons_example %} {% endcapture %}
{{button_group_addons_example}}
{% highlight html %} {{button_group_addons_example}} {% endhighlight %}