## Examples

### Top


import PaginationTop from "./PaginationTop.tsx?raw"

<LiveExample src={PaginationTop} />

### Bottom


import PaginationBottom from "./PaginationBottom.tsx?raw"

<LiveExample src={PaginationBottom} />

### Indeterminate

By not passing `itemCount` and passing `toggleTemplate` you can customize the toggle with text.


import PaginationIndeterminate from "./PaginationIndeterminate.tsx?raw"

<LiveExample src={PaginationIndeterminate} />

### Disabled


import PaginationDisabled from "./PaginationDisabled.tsx?raw"

<LiveExample src={PaginationDisabled} />

### No items


import PaginationNoItems from "./PaginationNoItems.tsx?raw"

<LiveExample src={PaginationNoItems} />

### One page


import PaginationOnePage from "./PaginationOnePage.tsx?raw"

<LiveExample src={PaginationOnePage} />

### Compact


import PaginationCompact from "./PaginationCompact.tsx?raw"

<LiveExample src={PaginationCompact} />

### Offset


import PaginationOffset from "./PaginationOffset.tsx?raw"

<LiveExample src={PaginationOffset} />

### Sticky


import PaginationSticky from "./PaginationSticky.tsx?raw"

<LiveExample src={PaginationSticky} />

### Dynamic sticky top

Pagination can be made sticky via two properties: `isStickyBase`, which allows separate control of the sticky position, and `isStickyStuck`, which applies the sticky styling. In this example, `isStickyStuck` is only applied when the pagination is not at the top of the scroll parent container.


import PaginationDynamicStickyTop from "./PaginationDynamicStickyTop.tsx?raw"

<LiveExample src={PaginationDynamicStickyTop} />

### Dynamic sticky bottom

Bottom pagination can be made sticky via two properties: `isStickyBase`, which allows separate control of the sticky position, and `isStickyStuck`, which applies the sticky styling. In this example, `isStickyStuck` is only applied when the pagination is not at the bottom of the scroll parent container.


import PaginationDynamicStickyBottom from "./PaginationDynamicStickyBottom.tsx?raw"

<LiveExample src={PaginationDynamicStickyBottom} />

### Inset


import PaginationInset from "./PaginationInset.tsx?raw"

<LiveExample src={PaginationInset} />