Skip to content
Infinite trigger, light
Light
Infinite trigger, dark
Dark

Every state

  • Infinite trigger, default, light
    Infinite trigger, default, dark

    default

  • Infinite trigger, hover, light
    Infinite trigger, hover, dark

    hover

  • Infinite trigger, focus, light
    Infinite trigger, focus, dark

    focus

  • Infinite trigger, loading, light
    Infinite trigger, loading, dark

    loading

  • Infinite trigger, paused, light
    Infinite trigger, paused, dark

    paused

  • Infinite trigger, error, light
    Infinite trigger, error, dark

    error

  • Infinite trigger, end, light
    Infinite trigger, end, dark

    end

Props

PropTypeDefaultWhat it does
loadednumber24How many are loaded now.
totalnumber312Total.
stepnumber24How many one load adds; used by the default loader.
localestring"en-GB"Formats the counts (BCP 47).
autoLoadsnumber3Batches loaded by scrolling before only the button loads more. 0: button only.
countTextstring"{loaded} of {total} products"{loaded} and {total} are filled in.
scrollHintstring | null"Scroll for more, or"Before the button while scrolling still loads. Null: the count alone.
buttonLabelstring"Load more"Button label.
loadingTextstring"Loading more products…"Loading text.
endTextstring"You’ve seen all {total} products"{total} is filled in.
errorTextstring"Those didn’t load. Check your connection."Error text.
retryLabelstring"Try again"Retry label.
backToTop{ href: string; label: string } | null{ href: "#top", label: "Back to top" }A link back to the top of the list, on the end line. Null: none.
loadingboolean–A batch is loading: when you drive the loading yourself.
errorboolean–The last load failed: shows the error and Try again.
onLoad(loaded: number) => Promise<number> | number–Loads the next batch and resolves to the new number loaded; reject to show the error. Left out: a local example that waits a moment and adds `step`.
classNamestring–Extra classes on the outer element.

More pagers

All 4
pager-02 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans