logo-icon
STW UI

Pagination

Pagination is a group of buttons that allow the user to navigate between a set of related content.

Usage

svelte
import { Pagination } from 'stwui';
// OR
import Pagination from 'stwui/pagination'; // for tree shaking

With Description & Extra

Alert Props

start number
end number
total number
total number
currentPage number
onNextClick () => void
onPreviousClick () => void
onPageClick (page: number) => void
pageSize number 25

Alert Class Identifiers

stwui-pagination
stwui-pagination-previous
stwui-pagination-next
stwui-pagination-current
stwui-pagination-first
stwui-pagination-blank-page
stwui-pagination-page
stwui-pagination-last