Headless pagination state — clamped page, page count, item range, client-side slice() and the ellipsis page sequence, controlled or uncontrolled.
npx shadcn@latest add @zyeon/use-paginationZyeon UI limits how often it can be asked, and usePagination hasn't had its turn. Its source will show here once it has.