Skip to content
caliper ui docs

Pro

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
pnpm dlx shadcn@latest add @caliper/load-more

Card payments

Company card ending 4410 · October 2026

  • 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
Installs components/ui/load-more.tsxDepends on @radix-ui/react-slot, lucide-reactMotion none in component source

When to use

Use it for

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

Skip it when

  • 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.

Usage

Import it from your copy of the source. The example behind the preview comes with the source.

example.tsx
import { LoadMore } from "@/components/ui/load-more"

The worked example comes with Pro

The 51-line example behind the preview opens here, ready to copy.

  • 626 Pro parts, blocks and page templates, all with source
  • $149 once, with lifetime updates. No renewal
  • A full refund within 14 days if it is not for you
Checking your licence…

API reference

LoadMore

component
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—

Accessibility

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

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

Motion

It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.

All Compare & browse examples