# `Noora.PaginationGroup`

Pagination group component for paginating with a defined set of pages. Do not use this component for cursor-based pagination.

## Example

```elixir
<.pagination_group
  current_page={@current_page}
  number_of_pages={25}
  page_patch={fn page -> ~p"/products?page=#{page}" end}
/>
```

# `pagination_group`

## Attributes

* `current_page` (`:integer`) (required) - The current page number.
* `number_of_pages` (`:integer`) (required) - The number of pages to display.
* `page_patch` (`:fun`) (required) - Get a patch for an individual page where the input is the index.
* Global attributes are accepted.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
