Skip to content
Navigation

Pagination

client26.25 kB
@stellaria/nebula-webPaginationProps

Preview

Props

14
PropTypeDefault

boundaries

number1

className

string

—

color

ColorExtended"primary"

defaultPage

number1

disabled

booleanfalse

labels

PaginationLabels

—

onChange

((page: number) => void)

—

page

number

—

siblings

number1

size

PaginationSize"md"

total

required
number

—

variant

PaginationVariant"filled"

withControls

booleantrue

withEdges

booleanfalse

Slot props

3

Each one spreads over an inner element, so you can restyle a region without forking the component.

PropTypeDefault

controlProps

Every button: arrows and numbers. It spreads over ALL of them, the active one included.

Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">

—

listProps

The list of controls.

BoxSlotProps

—

valueProps

The content of each button. On the forward arrows it already carries a 180-degree rotation.

BoxSlotProps

—

Also accepts

On top of its own props, this component forwards these groups.

Style props · 127