Pagination

Move through a known number of pages.

Examples

Installation

Install the package, then import only the components a route uses. Exports are tree-shakable.

Install
pnpm add fractalsvelte
Import
<script lang="ts">
	import { Pagination } from 'fractalsvelte';
</script>

Usage

Usage
<script lang="ts">
	import { Pagination } from 'fractalsvelte';
</script>

<Pagination pageCount={10} />

Props

PropTypeDefaultDescription
pageCountnumber-Total number of pages.
pagenumber1The current page. Supports bind:.