Retour

Onglets (tab)

Le composant onglet permet aux utilisateurs de naviguer dans différentes sections de contenu au sein d’une même page.

Documentation

Onglets 4 éléments

Contenu 1

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.

  • list item
  • list item
  • list item

Contenu 2

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.

  • list item
  • list item
  • list item

Contenu 3

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.

  • list item
    • list item niveau 2
    • list item niveau 2
  • list item
  • list item

Contenu 4

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.

  • list item
    • list item niveau 2
    • list item niveau 2
  • list item

<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-1034" class="fr-tabs__tab fr-icon-checkbox-circle-line fr-tabs__tab--icon-left" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1034-panel">Label Tab 1</button>
        </li>
        <li role="presentation">
            <button id="tabpanel-1035" class="fr-tabs__tab fr-icon-checkbox-circle-line fr-tabs__tab--icon-left" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1035-panel">Label Tab 2</button>
        </li>
        <li role="presentation">
            <button id="tabpanel-1036" class="fr-tabs__tab fr-icon-checkbox-circle-line fr-tabs__tab--icon-left" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1036-panel">Label Tab 3</button>
        </li>
        <li role="presentation">
            <button id="tabpanel-1037" class="fr-tabs__tab fr-icon-checkbox-circle-line fr-tabs__tab--icon-left" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1037-panel">Label Tab 4</button>
        </li>
    </ul>
    <div id="tabpanel-1034-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1034" tabindex="0">
        <!-- données de test -->
    </div>
    <div id="tabpanel-1035-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1035" tabindex="0">
        <!-- données de test -->
    </div>
    <div id="tabpanel-1036-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1036" tabindex="0">
        <!-- données de test -->
    </div>
    <div id="tabpanel-1037-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1037" tabindex="0">
        <!-- données de test -->
    </div>
</div>

Onglets 2 éléments

Contenu 1

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.

  • list item
  • list item
    • list item niveau 2
    • list item niveau 2
  • list item

Contenu 2

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.

  • list item
  • list item
    • list item niveau 2
    • list item niveau 2

<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-1041" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1041-panel">Label Tab 1</button>
        </li>
        <li role="presentation">
            <button id="tabpanel-1042" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1042-panel">Label Tab 2</button>
        </li>
    </ul>
    <div id="tabpanel-1041-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1041" tabindex="0">
        <!-- données de test -->
    </div>
    <div id="tabpanel-1042-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1042" tabindex="0">
        <!-- données de test -->
    </div>
</div>

Onglets dans onglets

Contenu 1

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.

  • list item
  • list item
  • list item

Contenu 2

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.

  • list item
  • list item
  • list item
    • list item niveau 2
    • list item niveau 2

Contenu 1

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.

  • list item
  • list item
    • list item niveau 2
    • list item niveau 2
    • list item niveau 2
  • list item

Contenu 2

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.

  • list item
  • list item
    • list item niveau 2
    • list item niveau 2

Contenu 3

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.

  • list item
  • list item
    • list item niveau 2
    • list item niveau 2
    • list item niveau 2

Contenu 1

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.

  • list item
    • list item niveau 2
    • list item niveau 2
  • list item
    • list item niveau 2
    • list item niveau 2
    • list item niveau 2
  • list item

Contenu 2

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.

  • list item
  • list item
  • list item

Contenu 3

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.

  • list item
    • list item niveau 2
    • list item niveau 2
  • list item
    • list item niveau 2
    • list item niveau 2

Contenu 4

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.

  • list item
  • list item
  • list item

Contenu 1

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.

  • list item
  • list item
    • list item niveau 2
    • list item niveau 2

Contenu 2

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.

  • list item
    • list item niveau 2
    • list item niveau 2
  • list item
    • list item niveau 2
    • list item niveau 2
    • list item niveau 2
  • list item

Contenu 1

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.

  • list item
  • list item
    • list item niveau 2
    • list item niveau 2
  • list item

Contenu 2

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.

  • list item
  • list item
  • list item

Contenu 3

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.

  • list item
    • list item niveau 2
    • list item niveau 2
    • list item niveau 2
  • list item
    • list item niveau 2
    • list item niveau 2

<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-1084" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1084-panel">Main Tab 0</button>
        </li>
        <li role="presentation">
            <button id="tabpanel-1085" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1085-panel">Main Tab 1</button>
        </li>
    </ul>
    <div id="tabpanel-1084-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1084" 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-1074" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1074-panel">Nested Tab s0</button>
                </li>
                <li role="presentation">
                    <button id="tabpanel-1075" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1075-panel">Nested Tab s1</button>
                </li>
                <li role="presentation">
                    <button id="tabpanel-1076" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1076-panel">Nested Tab s2</button>
                </li>
            </ul>
            <div id="tabpanel-1074-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1074" 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-1065" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1065-panel">Label Tab 1</button>
                        </li>
                        <li role="presentation">
                            <button id="tabpanel-1066" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1066-panel">Label Tab 2</button>
                        </li>
                    </ul>
                    <div id="tabpanel-1065-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1065" tabindex="0">
                        <!-- données de test -->
                    </div>
                    <div id="tabpanel-1066-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1066" tabindex="0">
                        <!-- données de test -->
                    </div>
                </div>
            </div>
            <div id="tabpanel-1075-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1075" 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-1067" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1067-panel">Label Tab 1</button>
                        </li>
                        <li role="presentation">
                            <button id="tabpanel-1068" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1068-panel">Label Tab 2</button>
                        </li>
                        <li role="presentation">
                            <button id="tabpanel-1069" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1069-panel">Label Tab 3</button>
                        </li>
                    </ul>
                    <div id="tabpanel-1067-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1067" tabindex="0">
                        <!-- données de test -->
                    </div>
                    <div id="tabpanel-1068-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1068" tabindex="0">
                        <!-- données de test -->
                    </div>
                    <div id="tabpanel-1069-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1069" tabindex="0">
                        <!-- données de test -->
                    </div>
                </div>
            </div>
            <div id="tabpanel-1076-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1076" 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-1070" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1070-panel">Label Tab 1</button>
                        </li>
                        <li role="presentation">
                            <button id="tabpanel-1071" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1071-panel">Label Tab 2</button>
                        </li>
                        <li role="presentation">
                            <button id="tabpanel-1072" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1072-panel">Label Tab 3</button>
                        </li>
                        <li role="presentation">
                            <button id="tabpanel-1073" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1073-panel">Label Tab 4</button>
                        </li>
                    </ul>
                    <div id="tabpanel-1070-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1070" tabindex="0">
                        <!-- données de test -->
                    </div>
                    <div id="tabpanel-1071-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1071" tabindex="0">
                        <!-- données de test -->
                    </div>
                    <div id="tabpanel-1072-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1072" tabindex="0">
                        <!-- données de test -->
                    </div>
                    <div id="tabpanel-1073-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1073" tabindex="0">
                        <!-- données de test -->
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="tabpanel-1085-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1085" 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-1082" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1082-panel">Nested Tab s0</button>
                </li>
                <li role="presentation">
                    <button id="tabpanel-1083" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1083-panel">Nested Tab s1</button>
                </li>
            </ul>
            <div id="tabpanel-1082-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1082" 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-1077" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1077-panel">Label Tab 1</button>
                        </li>
                        <li role="presentation">
                            <button id="tabpanel-1078" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1078-panel">Label Tab 2</button>
                        </li>
                    </ul>
                    <div id="tabpanel-1077-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1077" tabindex="0">
                        <!-- données de test -->
                    </div>
                    <div id="tabpanel-1078-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1078" tabindex="0">
                        <!-- données de test -->
                    </div>
                </div>
            </div>
            <div id="tabpanel-1083-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1083" 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-1079" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1079-panel">Label Tab 1</button>
                        </li>
                        <li role="presentation">
                            <button id="tabpanel-1080" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1080-panel">Label Tab 2</button>
                        </li>
                        <li role="presentation">
                            <button id="tabpanel-1081" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1081-panel">Label Tab 3</button>
                        </li>
                    </ul>
                    <div id="tabpanel-1079-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1079" tabindex="0">
                        <!-- données de test -->
                    </div>
                    <div id="tabpanel-1080-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1080" tabindex="0">
                        <!-- données de test -->
                    </div>
                    <div id="tabpanel-1081-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1081" tabindex="0">
                        <!-- données de test -->
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

Accordéon dans onglets

Contenu

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.

  • list item
  • list item
  • list item
    • list item niveau 2
    • list item niveau 2
    • list item niveau 2

Contenu

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.

  • list item
    • list item niveau 2
    • list item niveau 2
  • list item

<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-1093" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1093-panel">Label Tab 1</button>
        </li>
        <li role="presentation">
            <button id="tabpanel-1094" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1094-panel">Label Tab 2</button>
        </li>
    </ul>
    <div id="tabpanel-1093-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1093" tabindex="0">
        <section class="fr-accordion">
            <h3 class="fr-accordion__title">
                <button class="fr-accordion__btn" aria-expanded="false" aria-controls="accordion-1091">Intitulé accordéon</button>
            </h3>
            <div class="fr-collapse" id="accordion-1091">
                <!-- données de test -->
            </div>
        </section>
    </div>
    <div id="tabpanel-1094-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1094" tabindex="0">
        <section class="fr-accordion">
            <h3 class="fr-accordion__title">
                <button class="fr-accordion__btn" aria-expanded="false" aria-controls="accordion-1092">Intitulé accordéon</button>
            </h3>
            <div class="fr-collapse" id="accordion-1092">
                <!-- données de test -->
            </div>
        </section>
    </div>
</div>

Accordéon 100% largeur du viewport en mobile

Contenu 1

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.

  • list item
    • list item niveau 2
    • list item niveau 2
  • list item

Contenu 2

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.

  • list item
  • list item
  • list item

<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-1098" class="fr-tabs__tab" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-1098-panel">Label Tab 1</button>
        </li>
        <li role="presentation">
            <button id="tabpanel-1099" class="fr-tabs__tab" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-1099-panel">Label Tab 2</button>
        </li>
    </ul>
    <div id="tabpanel-1098-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-1098" tabindex="0">
        <!-- données de test -->
    </div>
    <div id="tabpanel-1099-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-1099" tabindex="0">
        <!-- données de test -->
    </div>
</div>

Paramètres d’affichage

Choisissez un thème pour personnaliser l’apparence du site.