Lambda UI
v1.3.4
Stable

Pagination

Pagination component allows users to navigate through a set of pages.

Playground

Experiment with all the properties of the Pagination component in real time.

Properties
currentPage

The current active page.

totalPages

The total number of pages.

maxVisiblePages

Number of visible page buttons.

variant

Defines the visual style of the pagination buttons.

size
Medium

Controls the size of the buttons.

radius
Small

Defines the border radius of the buttons.

showFirstLastButtons

Show buttons to go to the first and last page.

showPrevNextButtons

Show buttons to go to the previous and next page.

disabled

Disables all pagination buttons.

Usage

import { Pagination } from "lambda-ui-components";
import { useState } from "react";

export default function App() {
	const [page, setPage] = useState(1);

	return (
		<Pagination
			currentPage={page}
			totalPages={10}
			onPageChange={setPage}
			variant="outline"
			size="medium"
		/>
	);
}

API Reference

Props

Prop
Default
Type
currentPage
undefined
number
totalPages
undefined
number
onPageChange
undefined
(page: number) => void
maxVisiblePages
5
number
showFirstLastButtons
true
boolean
showPrevNextButtons
true
boolean
disabled
false
boolean
size
"medium"
"tiny" | "small" | "medium" | "large"
radius
"small"
"none" | "tiny" | "small" | "medium" | "large" | "full"
variant
"outline"
"outline" | "soft" | "solid" | "bordered"
ariaLabel
"Page navigation"
string
The modern React component library.
© 2026 Lambda UI. Made with in Mexico by AletzMan.