Home Work
SaaS developmentAI developmentAPI developmentMobile app developmentGoogle Ads managementHeadless ShopifyLaravel developmentNext.js developmentReact developmentTypeScript engineeringUI/UX designSEO & AEOEcommerce development
AI solutionsB2B platformsE-commerceHospitalityLead generationLogisticsEducationProcess automationSaaS platformsStartup MVPReal estateHealthcare
LegalHealthcareReal estateFinanceHospitality
The HagueRotterdamAmsterdamUtrechtEindhovenAlmereBredaArnhemNijmegenTilburgEnschedeGroningenLeidenDelftZoetermeerDen Bosch
Studio
AboutProcessLabBlogContact

Paginering: nummers, compact, laad meer New

Three variants for blogs, jobs or projects: numbered with previous/next, ellipsis and aria-current, a compact mobile variant (page 5 of 12) and "load more" with counter, loading state, focus on the first new post and an end state. Real links so search engines find every page; a container query slims the controls in narrow columns.

Nieuws · Hoveniersbedrijf Groenrijk

    How to use it

    1. Paste the HTML where the navigation & menus should appear.
    2. Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
    3. Add the JavaScript and call init() with the element that contains the HTML.
    <!-- Paginering: nummers, compact, laad meer · NedDev · eigen werk. -->
    <div class="jouw-container">
    <div class="pgn">
      <div class="pgn__top"><span class="pgn__eyebrow">Nieuws · Hoveniersbedrijf Groenrijk</span>
        <div class="pgn__mode" role="group" aria-label="Variant"><button type="button" aria-pressed="true" data-m="num">Nummers</button><button type="button" aria-pressed="false" data-m="cmp">Compact</button><button type="button" aria-pressed="false" data-m="more">Laad meer</button></div></div>
      <ul class="pgn__list"></ul>
      <nav class="pgn__nav" aria-label="Paginering"></nav>
      <p class="pgn__sr" aria-live="polite"></p>
    </div>
    </div>

    More navigation & menus

    Seen something you like?

    Add it to your selection and send it over. We build your site around it, in your brand.

    Get in touch →