# @lucasmogari/react-pagination

> Headless react hook for pagination

Latest version **2.1.0** (published 2025-02-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lucasmogari/react-pagination
pnpm add @lucasmogari/react-pagination
yarn add @lucasmogari/react-pagination
bun add @lucasmogari/react-pagination
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2025-02-11 |
| First published | 2020-08-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 38.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 35 |
| Author | Lucas Mogari |
| Maintainers | lucasmogari |
| Keywords | react, pagination, headless |

## Links

- npm: https://www.npmjs.com/package/@lucasmogari/react-pagination
- Repository: https://github.com/lucasmogari/react-pagination
- Homepage: https://react-pagination-docs.vercel.app/
- Issues: https://github.com/lucasmogari/react-pagination/issues
- npm.io page: https://npm.io/package/@lucasmogari/react-pagination

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.1.0 (latest) — 2025-02-11
- 2.0.0 — 2025-02-11
- 1.2.0 — 2024-03-01
- 1.1.4 — 2023-10-26
- 1.1.3 — 2022-01-13
- 1.1.2 — 2021-11-23
- 1.1.1 — 2021-11-20
- 1.1.0 — 2021-11-20
- 1.0.5 — 2021-10-25
- 1.0.4 — 2021-10-25
- 1.0.3 — 2021-10-25
- 1.0.2 — 2020-10-08
- 1.0.1 — 2020-10-08
- 1.0.0 — 2020-10-05
- 0.0.7 — 2020-08-27
- … 6 more at https://npm.io/package/@lucasmogari/react-pagination/versions

## README

# react-pagination

Headless react hook for pagination.

- Headless hook
- Small bundle
- Typescript

Bundle size:
3.4 kB (minified)
1.4 kB (minified + gzipped)


### Install

```
npm install @lucasmogari/react-pagination --save
# or 
yarn add @lucasmogari/react-pagination
```


### Demo

https://react-pagination-docs.vercel.app/

![](demo.gif)

---
_Source: https://npm.io/package/@lucasmogari/react-pagination · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
