DSFR v1.12.0
Le composant onglet permet aux utilisateurs de naviguer dans différentes sections de contenu au sein d’une même page.
DocumentationLorem ipsum dolor sit amet, consectetur adipiscing, link test incididunt, ut labore et dolore magna aliqua. Vitae sapien pellentesque habitant morbi tristique senectus et. Diam maecenas sed enim ut. Accumsan lacus vel facilisis volutpat est. Ut aliquam purus sit amet luctus. Lorem ipsum dolor sit amet consectetur adipiscing elit ut.
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6834" class="fr-tabs__tab fr-icon-checkbox-circle-line fr-tabs__tab--icon-left" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6834-panel">Libellé onglet 1</button>
</li>
<li role="presentation">
<button id="tabpanel-6835" class="fr-tabs__tab fr-icon-checkbox-circle-line fr-tabs__tab--icon-left" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6835-panel">Libellé onglet 2</button>
</li>
<li role="presentation">
<button id="tabpanel-6836" class="fr-tabs__tab fr-icon-checkbox-circle-line fr-tabs__tab--icon-left" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6836-panel">Libellé onglet 3</button>
</li>
<li role="presentation">
<button id="tabpanel-6837" class="fr-tabs__tab fr-icon-checkbox-circle-line fr-tabs__tab--icon-left" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6837-panel">Libellé onglet 4</button>
</li>
</ul>
<div id="tabpanel-6834-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6834" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6835-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6835" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6836-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6836" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6837-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6837" tabindex="0">
<!-- données de test -->
</div>
</div>
Lorem ipsum dolor sit amet, consectetur adipiscing, link test incididunt, ut labore et dolore magna aliqua. Vitae sapien pellentesque habitant morbi tristique senectus et. Diam maecenas sed enim ut. Accumsan lacus vel facilisis volutpat est. Ut aliquam purus sit amet luctus. Lorem ipsum dolor sit amet consectetur adipiscing elit ut.
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6841" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6841-panel">Libellé onglet 1</button>
</li>
<li role="presentation">
<button id="tabpanel-6842" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6842-panel">Libellé onglet 2</button>
</li>
</ul>
<div id="tabpanel-6841-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6841" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6842-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6842" tabindex="0">
<!-- données de test -->
</div>
</div>
Lorem ipsum dolor sit amet, consectetur adipiscing, link test incididunt, ut labore et dolore magna aliqua. Vitae sapien pellentesque habitant morbi tristique senectus et. Diam maecenas sed enim ut. Accumsan lacus vel facilisis volutpat est. Ut aliquam purus sit amet luctus. Lorem ipsum dolor sit amet consectetur adipiscing elit ut.
Lorem ipsum dolor sit amet, consectetur adipiscing, link test incididunt, ut labore et dolore magna aliqua. Vitae sapien pellentesque habitant morbi tristique senectus et. Diam maecenas sed enim ut. Accumsan lacus vel facilisis volutpat est. Ut aliquam purus sit amet luctus. Lorem ipsum dolor sit amet consectetur adipiscing elit ut.
Lorem ipsum dolor sit amet, consectetur adipiscing, link test incididunt, ut labore et dolore magna aliqua. Vitae sapien pellentesque habitant morbi tristique senectus et. Diam maecenas sed enim ut. Accumsan lacus vel facilisis volutpat est. Ut aliquam purus sit amet luctus. Lorem ipsum dolor sit amet consectetur adipiscing elit ut.
Lorem ipsum dolor sit amet, consectetur adipiscing, link test incididunt, ut labore et dolore magna aliqua. Vitae sapien pellentesque habitant morbi tristique senectus et. Diam maecenas sed enim ut. Accumsan lacus vel facilisis volutpat est. Ut aliquam purus sit amet luctus. Lorem ipsum dolor sit amet consectetur adipiscing elit ut.
Lorem ipsum dolor sit amet, consectetur adipiscing, link test incididunt, ut labore et dolore magna aliqua. Vitae sapien pellentesque habitant morbi tristique senectus et. Diam maecenas sed enim ut. Accumsan lacus vel facilisis volutpat est. Ut aliquam purus sit amet luctus. Lorem ipsum dolor sit amet consectetur adipiscing elit ut.
Lorem ipsum dolor sit amet, consectetur adipiscing, link test incididunt, ut labore et dolore magna aliqua. Vitae sapien pellentesque habitant morbi tristique senectus et. Diam maecenas sed enim ut. Accumsan lacus vel facilisis volutpat est. Ut aliquam purus sit amet luctus. Lorem ipsum dolor sit amet consectetur adipiscing elit ut.
Lorem ipsum dolor sit amet, consectetur adipiscing, link test incididunt, ut labore et dolore magna aliqua. Vitae sapien pellentesque habitant morbi tristique senectus et. Diam maecenas sed enim ut. Accumsan lacus vel facilisis volutpat est. Ut aliquam purus sit amet luctus. Lorem ipsum dolor sit amet consectetur adipiscing elit ut.
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6884" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6884-panel">Onglet principal 0</button>
</li>
<li role="presentation">
<button id="tabpanel-6885" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6885-panel">Onglet principal 1</button>
</li>
</ul>
<div id="tabpanel-6884-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6884" tabindex="0">
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6874" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6874-panel">Onglet imbriqué 0</button>
</li>
<li role="presentation">
<button id="tabpanel-6875" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6875-panel">Onglet imbriqué 1</button>
</li>
<li role="presentation">
<button id="tabpanel-6876" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6876-panel">Onglet imbriqué 2</button>
</li>
</ul>
<div id="tabpanel-6874-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6874" tabindex="0">
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6865" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6865-panel">Libellé onglet 1</button>
</li>
<li role="presentation">
<button id="tabpanel-6866" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6866-panel">Libellé onglet 2</button>
</li>
</ul>
<div id="tabpanel-6865-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6865" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6866-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6866" tabindex="0">
<!-- données de test -->
</div>
</div>
</div>
<div id="tabpanel-6875-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6875" tabindex="0">
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6867" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6867-panel">Libellé onglet 1</button>
</li>
<li role="presentation">
<button id="tabpanel-6868" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6868-panel">Libellé onglet 2</button>
</li>
<li role="presentation">
<button id="tabpanel-6869" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6869-panel">Libellé onglet 3</button>
</li>
</ul>
<div id="tabpanel-6867-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6867" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6868-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6868" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6869-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6869" tabindex="0">
<!-- données de test -->
</div>
</div>
</div>
<div id="tabpanel-6876-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6876" tabindex="0">
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6870" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6870-panel">Libellé onglet 1</button>
</li>
<li role="presentation">
<button id="tabpanel-6871" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6871-panel">Libellé onglet 2</button>
</li>
<li role="presentation">
<button id="tabpanel-6872" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6872-panel">Libellé onglet 3</button>
</li>
<li role="presentation">
<button id="tabpanel-6873" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6873-panel">Libellé onglet 4</button>
</li>
</ul>
<div id="tabpanel-6870-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6870" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6871-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6871" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6872-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6872" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6873-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6873" tabindex="0">
<!-- données de test -->
</div>
</div>
</div>
</div>
</div>
<div id="tabpanel-6885-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6885" tabindex="0">
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6882" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6882-panel">Onglet imbriqué 0</button>
</li>
<li role="presentation">
<button id="tabpanel-6883" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6883-panel">Onglet imbriqué 1</button>
</li>
</ul>
<div id="tabpanel-6882-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6882" tabindex="0">
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6877" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6877-panel">Libellé onglet 1</button>
</li>
<li role="presentation">
<button id="tabpanel-6878" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6878-panel">Libellé onglet 2</button>
</li>
</ul>
<div id="tabpanel-6877-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6877" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6878-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6878" tabindex="0">
<!-- données de test -->
</div>
</div>
</div>
<div id="tabpanel-6883-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6883" tabindex="0">
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6879" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6879-panel">Libellé onglet 1</button>
</li>
<li role="presentation">
<button id="tabpanel-6880" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6880-panel">Libellé onglet 2</button>
</li>
<li role="presentation">
<button id="tabpanel-6881" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6881-panel">Libellé onglet 3</button>
</li>
</ul>
<div id="tabpanel-6879-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6879" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6880-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6880" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6881-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6881" tabindex="0">
<!-- données de test -->
</div>
</div>
</div>
</div>
</div>
</div>
Lorem ipsum dolor sit amet, consectetur adipiscing, link test incididunt, ut labore et dolore magna aliqua. Vitae sapien pellentesque habitant morbi tristique senectus et. Diam maecenas sed enim ut. Accumsan lacus vel facilisis volutpat est. Ut aliquam purus sit amet luctus. Lorem ipsum dolor sit amet consectetur adipiscing elit ut.
Lorem ipsum dolor sit amet, consectetur adipiscing, link test incididunt, ut labore et dolore magna aliqua. Vitae sapien pellentesque habitant morbi tristique senectus et. Diam maecenas sed enim ut. Accumsan lacus vel facilisis volutpat est. Ut aliquam purus sit amet luctus. Lorem ipsum dolor sit amet consectetur adipiscing elit ut.
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6893" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6893-panel">Libellé onglet 1</button>
</li>
<li role="presentation">
<button id="tabpanel-6894" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6894-panel">Libellé onglet 2</button>
</li>
</ul>
<div id="tabpanel-6893-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6893" tabindex="0">
<section class="fr-accordion">
<h3 class="fr-accordion__title">
<button class="fr-accordion__btn" aria-expanded="false" aria-controls="accordion-6891">Libellé accordéon</button>
</h3>
<div class="fr-collapse" id="accordion-6891">
<!-- données de test -->
</div>
</section>
</div>
<div id="tabpanel-6894-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6894" tabindex="0">
<section class="fr-accordion">
<h3 class="fr-accordion__title">
<button class="fr-accordion__btn" aria-expanded="false" aria-controls="accordion-6892">Libellé accordéon</button>
</h3>
<div class="fr-collapse" id="accordion-6892">
<!-- données de test -->
</div>
</section>
</div>
</div>
<div class="fr-tabs fr-tabs--viewport-width">
<ul class="fr-tabs__list" role="tablist" aria-label="[A modifier | nom du système d'onglet]">
<li role="presentation">
<button id="tabpanel-6898" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-6898-panel">Libellé onglet 1</button>
</li>
<li role="presentation">
<button id="tabpanel-6899" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-6899-panel">Libellé onglet 2</button>
</li>
</ul>
<div id="tabpanel-6898-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-6898" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-6899-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-6899" tabindex="0">
<!-- données de test -->
</div>
</div>