--- title: Select layout: documentation doc-tab: form doc-subtab: select --- {% capture select_example %}
{% endcapture %} {% capture select_multiple_example %}
{% endcapture %} {% capture colors_example %}
{% endcapture %} {% capture rounded_example %}
{% endcapture %} {% capture sizes_example %}
{% endcapture %} {% capture normal_example %}
{% endcapture %} {% capture hover_example %}
{% endcapture %} {% capture focus_example %}
{% endcapture %} {% capture loading_example %}
{% endcapture %} {% capture disabled_example %}
{% endcapture %} {% capture icons_example %}
{% endcapture %} {% capture has_icons_small_example %}
{% endcapture %} {% capture has_icons_normal_example %}
{% endcapture %} {% capture has_icons_medium_example %}
{% endcapture %} {% capture has_icons_large_example %}
{% endcapture %} {% include subnav-form.html %}

Select

The browser built-in select dropdown, styled accordingly

{% include meta.html colors=true sizes=true variables=false %}

The following modifiers are supported:

{{select_example}}
{% highlight html %}{{select_example}}{% endhighlight %}

Multiple select

You can style a multiple select dropdown, by using the is-multiple modifier, and by using the multiple HTML attribute.

{{select_multiple_example}}
{% highlight html %}{{select_multiple_example}}{% endhighlight %}
{% include anchor.html name="Colors" %}
{{colors_example}}
{% highlight html %}{{colors_example}}{% endhighlight %}
{% include anchor.html name="Styles" %} {% include elements/new-tag.html version="0.6.2" %}
{{ rounded_example }}
{% highlight html %}{{ rounded_example }}{% endhighlight %}
{% include anchor.html name="Sizes" %}
{{sizes_example}}
{% highlight html %}{{sizes_example}}{% endhighlight %}

States

Normal

{{normal_example}}
{% highlight html %}{{normal_example}}{% endhighlight %}

Hover

{{hover_example}}
{% highlight html %}{{hover_example}}{% endhighlight %}

Focus

{{focus_example}}
{% highlight html %}{{focus_example}}{% endhighlight %}

Loading

{{loading_example}}
{% highlight html %}{{loading_example}}{% endhighlight %}

With icons

You can append the modifier on a control:

  • has-icons-left

You also need to add a modifier on the icon:

  • icon is-left since has-icons-left is used

The size of the select will define the size of the icon container.

{{icons_example}}
{% highlight html %}{{icons_example}}{% endhighlight %}

If the control contains an icon, Bulma will make sure the icon remains centered, no matter the size of the input or of the icon.

{{has_icons_small_example}}
{% highlight html %}{{has_icons_small_example}}{% endhighlight %}
{{has_icons_normal_example}}
{% highlight html %}{{has_icons_normal_example}}{% endhighlight %}
{{has_icons_medium_example}}
{% highlight html %}{{has_icons_medium_example}}{% endhighlight %}
{{has_icons_large_example}}
{% highlight html %}{{has_icons_large_example}}{% endhighlight %}