# Pagination

Provides navigation between pages of related content. Use it when a long result set is split into stable, addressable pages.

Package: `@kela-systems/ui-components` 4.1.0

```tsx
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "@kela-systems/ui-components";
```

Links (Kela sign-in needed): [Storybook](https://main--6af1efd9453270bb59a6c00c.chromatic.com/?path=/docs/components-pagination--docs), [Source](https://github.com/Kela-Systems/kela/tree/main/packages/next/ui-components/src/pagination), [Figma](https://www.figma.com/design/anhlwrbFM6mUiL0klxeK1I/ARK---Design-System?node-id=65-516)

## Props

A `className` on a part adds layout only: placement, sizing and spacing. Pick a look with a variant.

### Pagination

Also takes the attributes of the HTML element it renders.

### PaginationContent

Also takes the attributes of the HTML element it renders.

### PaginationEllipsis

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `label` | `string` | `More pages` |  |

Also takes the attributes of the HTML element it renders.

### PaginationItem

Also takes the attributes of the HTML element it renders.

### PaginationLink

| Variant | Values | Default |
| --- | --- | --- |
| `size` | `default`, `xs`, `sm`, `lg`, `icon`, `icon-xs`, `icon-sm`, `icon-lg` | `icon` |

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `isActive` | `boolean` |  |  |

Also takes the attributes of the HTML element it renders.

### PaginationNext

| Variant | Values | Default |
| --- | --- | --- |
| `size` | `default`, `xs`, `sm`, `lg`, `icon`, `icon-xs`, `icon-sm`, `icon-lg` | `default` |

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `isActive` | `boolean` |  |  |
| `text` | `string` | `Next` |  |

Also takes the attributes of the HTML element it renders.

### PaginationPrevious

| Variant | Values | Default |
| --- | --- | --- |
| `size` | `default`, `xs`, `sm`, `lg`, `icon`, `icon-xs`, `icon-sm`, `icon-lg` | `default` |

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `isActive` | `boolean` |  |  |
| `text` | `string` | `Previous` |  |

Also takes the attributes of the HTML element it renders.
