Pagination

Ellipsis Scrubber

Ellipsis pagination for hundreds of pages: clicking "…" opens a scrubber over the hidden range, and the number below it updates live while a cursor or finger drags the handle.

What you can change

  • page, total and siblings — the starting page, their total count and the window width around the current one
  • the accent through the accent prop — it colours the buttons' fill, the range and the focus rings
  • the aria-label wording on the buttons and the range hint

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/pagination-010?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

For developers

The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.

Technical notes

The component is self-contained: one file, no dependencies, its own palette in the local --vibeui-pagination-010-* variables. Client component: "use client" for the sake of the page and the opened gap. The window of numbers around the current page is computed by windowOf, and every gap carries the bounds of the hidden range. Clicking the "…" replaces it with an <input type="range"> holding those bounds and a "Go" button: the value changes live in an <output>, and the jump is confirmed explicitly so that it works the same with a mouse and from the keyboard (Enter confirms, Escape closes).

Tags

  • pagination
  • ellipsis
  • scrubber
  • range
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…