Skip to content
caliper ui pro docs

Load more

The end of a long list: the next page loads as it comes into view, failures offer a retry, a button does the same for keyboards, and the end says so.

Pro
  • Bewley's Café−€12.00
  • Irish Rail−€49.00
  • Figma−€86.00
  • Dublin Bus−€123.00
  • Office Depot−€160.00
  • Uber−€17.00
  • Google Workspace−€54.00
  • Lidl−€91.00
  • Aer Lingus−€128.00
  • Notion−€165.00
  • Freenow−€22.00
  • Tesco−€59.00

When to use

  • Feeds, search results and galleries.
  • Lists where pages are an implementation detail.

When not to use

  • Tables people jump around in; use pagination.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/load-more

Adds its 3 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

LoadMore

6 props
PropTypeDefaultDescription
onLoad *() => Promise<void>—Loads the next page; a thrown error shows the retry.
hasMore *boolean—
autobooleantrueLoad as soon as the end scrolls into view.
labelstring"Load more"
endLabelstring"You have reached the end"
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes status and alert semantics, with aria-hidden kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/load-more.md

The index of every part is at /llms.txt.

More in Compare & browse