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="fr-pagination" aria-label="Pagination">
    <ul class="fr-pagination__list">
        <li>
            <a class="fr-pagination__link fr-pagination__link--prev" id="pagination__link-5389" href="#">
                Page précédente
            </a>
        </li>
    </ul>
</nav>

élément de navigation avec label

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

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

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

pagination première page

<nav role="navigation" class="fr-pagination" aria-label="Pagination">
    <ul class="fr-pagination__list">
        <li>
            <a class="fr-pagination__link fr-pagination__link--first" id="pagination__link-5408" aria-disabled="true" role="link">
                Première page
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-pagination__link--prev fr-pagination__link--lg-label" id="pagination__link-5409" aria-disabled="true" role="link">
                Page précédente
            </a>
        </li>
        <li>
            <a class="fr-pagination__link" id="pagination__link-5410" aria-current="page" title="Page 1">
                1
            </a>
        </li>
        <li>
            <a class="fr-pagination__link" id="pagination__link-5411" href="#" title="Page 2">
                2
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5412" href="#" title="Page 3">
                3
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5413">
                …
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5414" href="#" title="Page 130">
                130
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5415" href="#" title="Page 131">
                131
            </a>
        </li>
        <li>
            <a class="fr-pagination__link" id="pagination__link-5416" href="#" title="Page 132">
                132
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-pagination__link--next fr-pagination__link--lg-label" id="pagination__link-5417" href="#">
                Page suivante
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-pagination__link--last" id="pagination__link-5418" href="#">
                Dernière page
            </a>
        </li>
    </ul>
</nav>

pagination deuxième page

<nav role="navigation" class="fr-pagination" aria-label="Pagination">
    <ul class="fr-pagination__list">
        <li>
            <a class="fr-pagination__link fr-pagination__link--first" id="pagination__link-5431" href="#">
                Première page
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-pagination__link--prev fr-pagination__link--lg-label" id="pagination__link-5432" href="#">
                Page précédente
            </a>
        </li>
        <li>
            <a class="fr-pagination__link" id="pagination__link-5433" href="#" title="Page 1">
                1
            </a>
        </li>
        <li>
            <a class="fr-pagination__link" id="pagination__link-5434" aria-current="page" title="Page 2">
                2
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5435" href="#" title="Page 3">
                3
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5436">
                …
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5437" href="#" title="Page 130">
                130
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5438" href="#" title="Page 131">
                131
            </a>
        </li>
        <li>
            <a class="fr-pagination__link" id="pagination__link-5439" href="#" title="Page 132">
                132
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-pagination__link--next fr-pagination__link--lg-label" id="pagination__link-5440" href="#">
                Page suivante
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-pagination__link--last" id="pagination__link-5441" href="#">
                Dernière page
            </a>
        </li>
    </ul>
</nav>

pagination dernière page

<nav role="navigation" class="fr-pagination" aria-label="Pagination">
    <ul class="fr-pagination__list">
        <li>
            <a class="fr-pagination__link fr-pagination__link--first" id="pagination__link-5454" href="#">
                Première page
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-pagination__link--prev fr-pagination__link--lg-label" id="pagination__link-5455" href="#">
                Page précédente
            </a>
        </li>
        <li>
            <a class="fr-pagination__link" id="pagination__link-5456" href="#" title="Page 1">
                1
            </a>
        </li>
        <li>
            <a class="fr-pagination__link" id="pagination__link-5457" href="#" title="Page 2">
                2
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5458" href="#" title="Page 3">
                3
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5459">
                …
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5460" href="#" title="Page 130">
                130
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-hidden fr-unhidden-lg" id="pagination__link-5461" href="#" title="Page 131">
                131
            </a>
        </li>
        <li>
            <a class="fr-pagination__link" id="pagination__link-5462" aria-current="page" title="Page 132">
                132
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-pagination__link--next fr-pagination__link--lg-label" id="pagination__link-5463" aria-disabled="true" role="link">
                Page suivante
            </a>
        </li>
        <li>
            <a class="fr-pagination__link fr-pagination__link--last" id="pagination__link-5464" 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.