reshaped

Reshaped Pagination

Navigation

About

Renders the full range of pages from the total count, automatically truncating the display around the currently selected page. Requires aria-labels for the previous/next controls, supports per-page aria-labels, an onChange handler and both controlled and uncontrolled page state.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Reshaped Pagination to your project and fits it to your theme.

Code

How Reshaped Pagination is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Reshaped } from "reshaped/bundle";
import Pagination from "@/components/ui/reshaped-pagination";

export default function Demo() {
  return (
    <Reshaped theme="slate">
      <div style={{ margin: "0 auto", padding: 24, display: "flex", justifyContent: "center" }}>
        <Pagination
          total={10}
          page={5}
          previousAriaLabel="Previous page"
          nextAriaLabel="Next page"
        />
      </div>
    </Reshaped>
  );
}

Dependencies

More by reshaped

View all
  • Reshaped Toast

    Reshaped Toast

    11
  • Reshaped Calendar

    Reshaped Calendar

    9
  • Reshaped Progress indicator

    Reshaped Progress indicator

    7
  • Reshaped Context menu

    Reshaped Context menu

    7
  • Reshaped Checkbox

    Reshaped Checkbox

    7
  • Reshaped Autocomplete

    Reshaped Autocomplete

    7
  • Reshaped Slider

    Reshaped Slider

    6
  • Reshaped Carousel

    Reshaped Carousel

    6

More in Navigation

View all
  • Sidebar

    Sidebar

    359
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    58
  • Pagination

    Pagination

    37
  • Sortable Sidebar Navigation

    Sortable Sidebar Navigation

    75
  • Pagination with Ellipsis

    Pagination with Ellipsis

    21
  • Oversized 404 Numeral

    Oversized 404 Numeral

    72
  • Navbar

    Navbar

    8
  • Breadcramb

    Breadcramb

    41