Tabs only require a tabs
container and a <ul>
list.
The default tabs style has a single border at the bottom.
--- title: Tabs subtitle: "Simple responsive horizontal navigation tabs, with different styles" layout: documentation doc-tab: components doc-subtab: tabs breadcrumb: - home - documentation - components - components-tabs meta: colors: false sizes: true variables: true --- {% capture tabs_example %}
{% endcapture %} {% capture tabs_centered_example %} {% endcapture %} {% capture tabs_right_example %} {% endcapture %} {% capture tabs_icons_example %} {% endcapture %} {% capture tabs_small_example %} {% endcapture %} {% capture tabs_medium_example %} {% endcapture %} {% capture tabs_large_example %} {% endcapture %} {% capture tabs_boxed_example %} {% endcapture %} {% capture tabs_toggle_example %} {% endcapture %} {% capture tabs_toggle_rounded_example %} {% endcapture %} {% capture tabs_fullwidth_example %} {% endcapture %} {% capture tabs_centered_boxed_example %} {% endcapture %} {% capture tabs_toggle_fullwidth_example %} {% endcapture %} {% capture tabs_centered_boxed_medium_example %} {% endcapture %} {% capture tabs_toggle_fullwidth_large_example %} {% endcapture %}Tabs only require a tabs
container and a <ul>
list.
The default tabs style has a single border at the bottom.
To align the tabs list, use the is-centered
or is-right
modifier on the .tabs
container:
You can use any of the Font Awesome icons.
You can choose between 3 additional sizes: is-small
is-medium
and is-large
.
is-boxed
modifier.
If you want mutually exclusive tabs (like radio buttons where clicking one deselects all other ones), use the is-toggle
modifier.
If you use both is-toggle
and is-toggle-rounded
, the first and last items will be rounded.
If you want the tabs to take up the whole width available, use is-fullwidth
.
You can combine different modifiers. For example, you can have centered boxed tabs, or fullwidth toggle ones.