Material Bootstrap Tabs

There are three types of Tab controls : nav, tab and pills. The tabType property determines the type. By default it's set to 'tabs'.

Navs

Navigation available in Smart.Core share general markup and styles, from the base .nav class to the active and disabled states. Swap modifier classes to switch between each style.

Navigation available in Smart.Core share general markup and styles, from the base .nav class to the active and disabled states. Swap modifier classes to switch between each style.

Active Link Link Disabled

Alignment

Change the horizontal alignment of your nav with flexbox utilities. By default, navs are left-aligned, but you can easily change them to center or right aligned via the align property.

Centered with align="center"

Active Link Link Disabled

Right-aligned with align="end"

Active Link Link Disabled

Vertical-aligned with align="vertical"

Active Link Link Disabled

Vertical-aligned works with listType="nav" as well:

Active Link Link Disabled

Tabs

Here's the default appearance of the Smart's core Tabs control. Setting the tabType property to 'tabs' will also change the the element to it's default state.

Active Link Link Disabled

Pills

Pills is the third appearance of the Tab control. Changing the tabType property to 'pills' in order to change the appearance of the element.

Active Link Link Disabled

Fill and justify

Force your Tab contents to extend the full available width one of two modifier classes. To proportionately fill all available space with your .nav-items, set the fill property. Notice that all horizontal space is occupied, but not every nav item has the same width.

Active Much longer nav link Link Disabled

For equal-width elements, set the justified property. All horizontal space will be occupied by nav links, but unlike the fill above, every nav item will be the same width.

Active Much longer nav link Link Disabled

Regarding accessibility

If you’re using navs to provide a navigation bar, be sure to add a role="navigation" to the element. Note that navigation bars, even if visually styled as tabs with the tabType="tabs" property, should not be given role="tablist", role="tab" or role="tabpanel" attributes. These are only appropriate for dynamic tabbed interfaces, as described in the WAI ARIA Authoring Practices. See JavaScript behavior for dynamic tabbed interfaces in this section for an example.

Using dropdowns

Tabs with dropdowns

Active Action Another action Something else here Separated link Link Disabled

Pills with dropdowns

Active Action Another action Something else here Separated link Link Disabled

Dynamic Tabs

Dynamic tabbed interfaces, as described in the WAI ARIA Authoring Practices, require role="tablist", role="tab", role="tabpanel", and additional aria- attributes in order to convey their structure, functionality and current state to users of assistive technologies (such as screen readers). Note that dynamic tabbed interfaces should not contain dropdown menus, as this causes both usability and accessibility issues. From a usability perspective, the fact that the currently displayed tab’s trigger element is not immediately visible (as it’s inside the closed dropdown menu) can cause confusion. From an accessibility point of view, there is currently no sensible way to map this sort of construct to a standard WAI ARIA pattern, meaning that it cannot be easily made understandable to users of assistive technologies.

Home Profile Contact
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.
Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.
Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.

Dynamic Tabs also works with pills:

Home Profile Contact
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.
Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.
Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.
Home Profile Contact
Content 1
Content 2
Content 3
Home Profile Contact
Content 1
Content 2
Content 3
Home Profile Contact
Content 1
Content 2
Content 3
Home Profile Contact
Content 1
Content 5
Content 3
Home Profile Contact
Content 1
Content 2
Content 3
Home Profile Contact
Content 1
Content 2
Content 3

Material Design

Home Profile Contact
Content 1
Content 8
Content 3
Home Profile Contact
Content 1
Content 2
Content 9
Home Profile Contact
Content 1
Content 2
Content 3
Home Profile Contact
Content 1
Content 11
Content 3
Home Profile Contact
Content 1
Content 2
Content 3
Home Profile Contact
Content 1
Content 2
Content 3