--- layout: documentation doc-tab: components doc-subtab: dropdown --- {% capture dropdown_example %} {% endcapture %} {% capture dropdown_click_example %} {% endcapture %} {% capture dropdown_info_example %} {% endcapture %} {% include subnav-components.html %}

Dropdown

An interactive dropdown menu for discoverable content

New! 0.4.4


The dropdown component is a container for a dropdown button and a dropdown menu.

  • dropdown the main container
    • dropdown-trigger the container for a button
    • dropdown-menu the toggable menu, hidden by default
      • dropdown-content the dropdown box, with a white background and a shadow
        • dropdown-item each single item of the dropdown, which can either be a a or a div
        • dropdown-divider a horizontal line to separate dropdown items
{{dropdown_example}}
{% highlight html %}{{dropdown_example}}{% endhighlight %}
{{dropdown_click_example}} {{dropdown_info_example}}