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}
          defaultPage={5}
          previousAriaLabel="Previous page"
          nextAriaLabel="Next page"
        />
      </div>
    </Reshaped>
  );
}

Dependencies

More by reshaped

View all
  • Reshaped Toast

    Reshaped Toast

    12
  • Reshaped Calendar

    Reshaped Calendar

    10
  • Reshaped Progress indicator

    Reshaped Progress indicator

    8
  • Reshaped Context menu

    Reshaped Context menu

    8
  • Reshaped Checkbox

    Reshaped Checkbox

    8
  • Reshaped Autocomplete

    Reshaped Autocomplete

    8
  • Reshaped Slider

    Reshaped Slider

    7
  • Reshaped Carousel

    Reshaped Carousel

    7

More in Navigation

View all
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    76
  • Footer with Big Wordmark

    Footer with Big Wordmark

    40
  • Sidebar

    Sidebar

    392
  • Oversized 404 Numeral

    Oversized 404 Numeral

    78
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    67
  • NavBar

    NavBar

    2
  • Pagination

    Pagination

    109
  • Tabs like bookmark

    Tabs like bookmark

    82