# Pagination

### Key Features

* **Utility Class Integration**: Allows for the addition of custom utility classes for further customization and styling of the pagination component.
* **Size Customization**: Supports different sizes such as 'sm' (small) and 'lg' (large) for pagination buttons.
* **Flexible Alignment**: Includes alignment options like 'start', 'end', 'center', and 'vertical' for positioning the pagination within the layout.
* **Accessibility Features**: Designed with accessibility in mind, ensuring that the pagination component is usable by all audiences.

### Customization Options

* **Dynamic CSS Classes**: Customize the appearance of the pagination with custom CSS classes, size options, and alignment settings.
* **Adaptive Content**: Easily adapt the pagination component to different content types and page structures.

### Usage

```twig
{% include 'radix:pagination' with {
  pagination_utility_classes: ['custom-pagination-class'],
  size: 'lg',
  alignment: 'center',
  items: items,
} %}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trydrupal.com/radix/components/pagination.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
