NV Elements Catalog Starters Repo System Themes Getting Started Getting Started Installation CLI MCP Skills Lint Integrations Getting Started Angular Bundles Custom Elements Golang Hugo Import Maps Lit Lit Library MCP Apps NextJS Nuxt Preact React SolidJS Svelte TypeScript Vue About Changelog Metrics Support Accessibility Contributions Requests Migration Foundations Overview Typography Iconography Themes Design Tokens Size & Space Objects Interactions Support Status Color Animation Fonts Layers Custom Layout Horizontal Vertical Grid Popovers i18n Visualization View Transitions Elements Accordion Alert Avatar Badge Breadcrumb Button Button Group Card Chat Message Checkbox Color Combobox Copy Button Datagrid Integrations Column Action Column Alignment Column Fixed Column width Container Card Display Settings Footer Heatmap Keynav Multi Select Pagination Panel Detail Panel Grid Performance Placeholder Row Action Row Groups Row Sort Scroll Height Single Select Stripe Date Datetime Dialog Divider Dot Drawer Dropdown Dropdown Group Dropzone File Format Datetime Format Number Format Relative Time Forms Validation Actions Control Icon Icon Button Input Input Group Logo Menu Month Notification Page Page Header Page Loader Pagination Progressive Filter Chip Progress Bar Progress Ring Password Preferences Input Pulse Radio Range Resize Handle Search Select Skeleton Sort Button Sparkline Star Rating Steps Switch Tabs Tag Textarea Time Toast Toggletip Toolbar Tooltip Tree Week Patterns Authentication Browse Chat Dashboard Editor Empty States Heatmap Keyboard Shortcut Logging Media Navigation Onboarding Panel Responsive Search Subheader Trend Code Codeblock Monaco Input Diff Input Editor Diff Editor Problems Markdown Markdown CSS Utility Labs Responsive Layout Viewport Container Patterns Forms API Design Properties & Attributes Slots Registration CustomEvents Stateless Composition Styles Packaging Glossary Logs Internal Guidelines Agent Harness Agent Tooling Agent Ownership Documentation Examples TypeScript Testing Unit Testing Accessibility Testing Lighthouse Testing SSR Testing Visual Testing Troubleshooting Component Creation Internal Examples All Examples

Pagination

stable:  0.2.4 Coverage: 96.42% Bundle: 36.98kb Lighthouse: 100 Axe Core Released: 0.11.0
Overview API Examples

<nve-pagination>

Properties

Property Attribute Description Values reset none

Resets the control value to its initial value.

() => void
setCustomValidity none
(message: string) => void
checkValidity none

Checks whether the control satisfies its constraints. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity

() => boolean
reportValidity none

Reports whether the control satisfies its constraints. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity

() => boolean
composedLabel none

Text content from labels associated with the control.

string
labels none
type none

The control type.

string
valueAsNumber none

The current value parsed as a number.

number
valueAsString none

The current value serialized as a string.

string
validationMessage none

The validation message shown when the control is invalid. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validationMessage

string
validity none
willValidate none

Indicates whether the control participates in constraint validation. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/willValidate

true
false
form none
noValidate novalidate

Disables constraint validation for this control. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/novalidate

true
false
name name

The name submitted with the control value as part of the form data. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/name

string
maxLength maxlength
number
minLength minlength
number
max max
number
null
min min
number
null
pattern pattern

Defines the pattern that text values must match. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern

string
required required

Requires a value before the parent form can submit. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required

true
false
disabled disabled

This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. MDN

true The element has a disabled state and does not accept interaction.
false The element has an enabled state and accepts interaction.
readOnly readonly

Indicates whether the user can change the element's value while it remains visible and focusable. MDN

true The element has a readonly state: the user cannot change its value, but can still focus and copy it.
false The element allows editing and the user can change its value through interaction.
defaultValue none

The initial value used when the parent form resets.

string
value value

Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. MDN

number
i18n i18n

Enables updating internal string values for internationalization.

container container

Demonstrates different container styles to accommodate visual weight and context.

flat Element has white space bounds but reduced visual container.
inline Element container reduces to fit within inline content such as a block of text.
disableStep disable-step

Whether the step selector has a disabled state.

true
false
skippable skippable

Whether the pagination is skippable to start/end.

true
false
items items

The total number of items.

number
stepSizes stepSizes

The array of custom step-size.

array
step step

The number of items per page.

number

Events

Event Description change

Dispatched when the value (page) has changed

input

Dispatched when the value (page) has changed

first-page

Dispatched when the first page is active

last-page

Dispatched when the last page is active

step-change

Slots

Slot Description suffix-label

slot for overriding the "n of total" label when total is an approximation

default

default slot for content

CSS Properties

Css-property Description --width --font-size --background

CSS Parts

Css-part Description select

The page size select element

end-icon-button

The last page icon button

start-icon-button

The first page icon button

next-icon-button

The next page icon button

previous-icon-button

The previous page icon button

icon-button

Base part applied to all icon button elements