antdesign

Pagination Ant

Component 3

About

Here is Pagination component

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

Code

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

Usage.tsx

import React from 'react';
import type { PaginationProps } from 'antd';
import { Pagination } from 'antd';

const onChange: PaginationProps['onChange'] = (pageNumber) => {
  console.log('Page: ', pageNumber);
};

const App: React.FC = () => (
  <>
    <Pagination showQuickJumper defaultCurrent={2} total={500} onChange={onChange} />
    <br />
    <Pagination showQuickJumper defaultCurrent={2} total={500} onChange={onChange} disabled />
  </>
);

export default App;

Dependencies

More by antdesign

View all
  • Menu

    Menu

    22
  • Dropdown

    Dropdown

    15
  • Breadcrumb

    Breadcrumb

    10
  • FloatButton

    FloatButton

    7
  • Button Ant

    Button Ant

    5
  • Floating Action Menu

    Floating Action Menu