Retour

Accordéon (accordion)

L'accordéon permet aux utilisateurs d'afficher et de masquer des sections de contenu présentés dans une page.

Documentation

Accordéon

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

<section class="village-accordion">
    <h3 class="village-accordion__title">
        <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1038">Intitulé accordéon</button>
    </h3>
    <div class="village-collapse" id="accordion-1038">
        <!-- données de test -->
    </div>
</section>

Groupe d‘accordéons

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 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.

  • list item
    • list item niveau 2
  • list item

Contenu

  • list item
  • list item

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

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

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

<div class="village-accordions-group">
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1046">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1046">
            <!-- données de test -->
        </div>
    </section>
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1047">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1047">
            <!-- données de test -->
        </div>
    </section>
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1048">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1048">
            <!-- données de test -->
        </div>
    </section>
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1049">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1049">
            <!-- données de test -->
        </div>
    </section>
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1050">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1050">
            <!-- données de test -->
        </div>
    </section>
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1051">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1051">
            <!-- données de test -->
        </div>
    </section>
</div>

Groupe d‘accordéons dissociés

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 niveau 2
    • list item niveau 2

Contenu

  • list item

Contenu

  • list item
    • list item niveau 2

Contenu

  • list item

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

Contenu

  • list item

<div data-village-group="false" class="village-accordions-group">
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1059">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1059">
            <!-- données de test -->
        </div>
    </section>
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1060">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1060">
            <!-- données de test -->
        </div>
    </section>
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1061">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1061">
            <!-- données de test -->
        </div>
    </section>
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1062">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1062">
            <!-- données de test -->
        </div>
    </section>
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1063">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1063">
            <!-- données de test -->
        </div>
    </section>
    <section class="village-accordion">
        <h3 class="village-accordion__title">
            <button class="village-accordion__btn" aria-expanded="false" aria-controls="accordion-1064">Intitulé accordéon</button>
        </h3>
        <div class="village-collapse" id="accordion-1064">
            <!-- données de test -->
        </div>
    </section>
</div>

Mises en situation

Paramètres d’affichage

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