Page navigation with a fixed width ellipsis range (first, last, current and siblings), previous and next controls, aria-current="page" and an optional compact '3 / 12' mode; pass getHref to render crawlable links or onPageChange for buttons. A small underline slides to the current page with a snappy spring, and jumps instantly under reduced motion.
pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/pagination.json"