---json
{
"description": "A tabs is an layout, interactive and navigational element that is composed of a a serie of tab that, when activated, displays their associated panel.",
"page_id": "q7ikx4zuhrr801v83dnu8",
"title": "Tabs: layout panels in tab"
}
---
====== ComboStrap UI - Tabs ======
===== About =====
A ''tabs'' is an [[docs:layout:component:component|layout]], [[docs:navigation:navigation|interactive and navigational]] element that is composed of a a serie of ''tab'' that, when activated, displays their associated [[docs:layout:component:panel|panel]].
You can also choose an [[docs:layout:component:accordion|accordion]] as another navigational collapsible layout for panels.
===== Syntax =====
A ''tabs'' component is composed of:
* a serie of [[docs:layout:component:panel|panel]]
* that must have a ''label'' element.
* and optionally the ''selected'' attribute to specify the ''selected'' [[docs:layout:component:panel|panel]]
* with a ''type'' attribute that may take the value:
* [[#tabs]] (default)
* [[#pills]]
* [[#enclosed-tabs]]
* [[#enclosed-pills]]
Body
...
===== Example =====
==== Label ====
The ''label'' tag supports all syntax inside. You can add:
* [[docs:content:icon|icon]]
* [[docs:content:image|image]]
* or any other [[doku>plugins?plugintype=1#extension__table|dokuwiki syntax plugin]]
Demo:
A panel with a [[:docs:content:icon|svg icon]].
A panel with a [[:docs:content:raster#icon|raster image icon]].
All characters are supported even the ampersand.
==== Tabs ====
Raw denim you probably haven't heard of them jean shorts Austin.
Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid.
Other syntax are also accepted. Example with a table: \\ \\
^ UI Components ^ Description ^
| [[:docs:content:badge|badge]] | A small status descriptors |
| [[docs:block:note|note]] | A paragraph that is parenthetic or ancillary to the main text. |
| [[docs:component|See the full list ...]] ||
==== Pills ====
==== My Home ====
Raw denim you probably haven't heard of them jean [[https://combostrap.com/tabs|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.
Profile
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.
==== Enclosed-Tabs ====
==== My Home ====
Raw denim you probably haven't heard of them [[https://combostrap.com|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.
Profile
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.
==== Enclosed-Pills ====
==== My Home ====
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.
Profile
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.