{"repo":"react-component/pagination","free":true,"listed":false,"github":"https://github.com/react-component/pagination","clone":"git clone https://github.com/react-component/pagination.git","description":"📄 React pagination primitives for page navigation, size changing, quick jumping, and locale-aware controls.","language":"TypeScript","stars":676,"topics":["ant-design","antd","javascript","react","react-component"],"license":"MIT","category":"ui-components","readme_excerpt":"@rc-component/pagination Part of the Ant Design ecosystem. 📄 React pagination primitives for page navigation, size changing, quick jumping, and locale-aware controls. English 简体中文 Highlights - Controlled and uncontrolled pagination state. - Page-size changer, quick jumper, simple mode, compact item count, and custom item rendering. - Locale packages exposed from @rc-component/pagination/locale/ . - Semantic classNames and styles for item-level customization. - TypeScript definitions for props, locale, callbacks, and state. - Used by Ant Design as the shared pagination foundation. Install Usage Examples Run the local dumi site: Then open http://localhost:8000 . API Pagination Property Type Default Description ---------------------------- ----------------------------------------------------------------------------- -------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- align 'start' \\ 'center' \\ 'end' - Align pagination items. className string - Class name for the root element. classNames Partial - Semantic class names. current number - Controlled current page. defaultCurrent number 1 Initial current page. defaultPageSize number 10 Initial page size. disabled boolean false Disable pagination interactions. hideOnSinglePage boolean false Hide when there is only one page. itemRender (page, type, element) = ReactNode - Custom","default_branch":null,"files":null,"tree":[],"storefront":"/r/react-component","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/react-component/pagination/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}