Retour

Pagination (pagination)

La pagination permet à l’utilisateur de naviguer entre les différentes pages d’une liste d'éléments.

Documentation

Élément de navigation icône seule (par défaut)

<nav role="navigation" class="village-pagination" aria-label="Pagination">
    <ul class="village-pagination__list">
        <li>
            <a class="village-pagination__link village-pagination__link--prev" href="#">
                Page précédente
            </a>
        </li>
    </ul>
</nav>

Élément de navigation avec label

<nav role="navigation" class="village-pagination" aria-label="Pagination">
    <ul class="village-pagination__list">
        <li>
            <a class="village-pagination__link village-pagination__link--prev village-pagination__link--label" href="#">
                Page précédente
            </a>
        </li>
    </ul>
</nav>

Élément de navigation avec label à partir du breakpoint LG

<nav role="navigation" class="village-pagination" aria-label="Pagination">
    <ul class="village-pagination__list">
        <li>
            <a class="village-pagination__link village-pagination__link--prev village-pagination__link--lg-label" href="#">
                Page précédente
            </a>
        </li>
    </ul>
</nav>

Pagination première page

<nav role="navigation" class="village-pagination" aria-label="Pagination" data-village-analytics-page-total="132">
    <ul class="village-pagination__list">
        <li>
            <a class="village-pagination__link village-pagination__link--first" id="pagination-6690" title="Première page" aria-disabled="true" role="link">
                Première page
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-pagination__link--prev village-pagination__link--lg-label" id="pagination-6691" title="Page précédente" aria-disabled="true" role="link">
                Page précédente
            </a>
        </li>
        <li>
            <a class="village-pagination__link" id="pagination-6683" aria-current="page" title="Page 1">
                1
            </a>
        </li>
        <li>
            <a class="village-pagination__link" id="pagination-6684" href="#" title="Page 2">
                2
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6685" href="#" title="Page 3">
                3
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6686" href="#">
                …
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6687" href="#" title="Page 130">
                130
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6688" href="#" title="Page 131">
                131
            </a>
        </li>
        <li>
            <a class="village-pagination__link" id="pagination-6689" href="#" title="Page 132">
                132
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-pagination__link--next village-pagination__link--lg-label" id="pagination-6692" href="#" title="Page suivante">
                Page suivante
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-pagination__link--last" id="pagination-6693" href="#" title="Dernière page">
                Dernière page
            </a>
        </li>
    </ul>
</nav>

Pagination deuxième page

<nav role="navigation" class="village-pagination" aria-label="Pagination" data-village-analytics-page-total="132">
    <ul class="village-pagination__list">
        <li>
            <a class="village-pagination__link village-pagination__link--first" id="pagination-6713" href="#" title="Première page">
                Première page
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-pagination__link--prev village-pagination__link--lg-label" id="pagination-6714" href="#" title="Page précédente">
                Page précédente
            </a>
        </li>
        <li>
            <a class="village-pagination__link" id="pagination-6706" href="#" title="Page 1">
                1
            </a>
        </li>
        <li>
            <a class="village-pagination__link" id="pagination-6707" aria-current="page" title="Page 2">
                2
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6708" href="#" title="Page 3">
                3
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6709" href="#">
                …
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6710" href="#" title="Page 130">
                130
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6711" href="#" title="Page 131">
                131
            </a>
        </li>
        <li>
            <a class="village-pagination__link" id="pagination-6712" href="#" title="Page 132">
                132
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-pagination__link--next village-pagination__link--lg-label" id="pagination-6715" href="#" title="Page suivante">
                Page suivante
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-pagination__link--last" id="pagination-6716" href="#" title="Dernière page">
                Dernière page
            </a>
        </li>
    </ul>
</nav>

Pagination dernière page

<nav role="navigation" class="village-pagination" aria-label="Pagination" data-village-analytics-page-total="132">
    <ul class="village-pagination__list">
        <li>
            <a class="village-pagination__link village-pagination__link--first" id="pagination-6736" href="#" title="Première page">
                Première page
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-pagination__link--prev village-pagination__link--lg-label" id="pagination-6737" href="#" title="Page précédente">
                Page précédente
            </a>
        </li>
        <li>
            <a class="village-pagination__link" id="pagination-6729" href="#" title="Page 1">
                1
            </a>
        </li>
        <li>
            <a class="village-pagination__link" id="pagination-6730" href="#" title="Page 2">
                2
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6731" href="#" title="Page 3">
                3
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6732" href="#">
                …
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6733" href="#" title="Page 130">
                130
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-hidden village-unhidden-lg" id="pagination-6734" href="#" title="Page 131">
                131
            </a>
        </li>
        <li>
            <a class="village-pagination__link" id="pagination-6735" aria-current="page" title="Page 132">
                132
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-pagination__link--next village-pagination__link--lg-label" id="pagination-6738" title="Page suivante" aria-disabled="true" role="link">
                Page suivante
            </a>
        </li>
        <li>
            <a class="village-pagination__link village-pagination__link--last" id="pagination-6739" title="Dernière page" aria-disabled="true" role="link">
                Dernière page
            </a>
        </li>
    </ul>
</nav>

Paramètres d’affichage

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