Porsche Design SystemSearchNavigate to GitHub repository of Porsche Design SystemOpen sidebar
ConfiguratorUsageAccessibilityAPI
Pagination Table of ContentsPropertiesPropertyAttributeDescriptionTypeDefaultactivePage active-pageIndex of the currently active page.number1allyLabel 🚫ally-labeldeprecated since v3.0.0, will be removed with next major release, use intl.root instead. Aria label what the pagination is used for.stringundefinedallyLabelNext 🚫ally-label-nextdeprecated since v3.0.0, will be removed with next major release, use intl.next instead. Aria label for next page icon.stringundefinedallyLabelPage 🚫ally-label-pagedeprecated since v3.0.0, will be removed with next major release, use intl.page instead. Aria label for page navigation.stringundefinedallyLabelPrev 🚫ally-label-prevdeprecated since v3.0.0, will be removed with next major release, use intl.prev instead. Aria label for previous page icon.stringundefinedintl intlOverride the default wordings that are used for aria-labels on the next/prev and page buttons.type PaginationInternationalization = {
  'root'?: string;
  'prev'?: string;
  'next'?: string;
  'page'?: string;
}
{ "root": "Pagination", "prev": "Previous page", "next": "Next page", "page": "Page" }
itemsPerPage items-per-pageThe total count of items which should be shown per page.number1maxNumberOfPageLinks 🚫max-number-of-page-linksHas no effect anymore deprecated since v3.10.0, will be removed with next major releasePaginationMaxNumberOfPageLinksundefinedshowLastPage show-last-pageShow or hide the button to jump to the last page.booleantruetheme themeAdapts the color when used on dark background.type Theme =
'light'
'dark'
'auto'
'light'
totalItemsCount total-items-countThe total count of items.number1
EventsEventDescriptionTypepageChange 🚫deprecated since v3.0.0, will be removed with next major release, use update event instead. Emitted when the page changes.type PaginationUpdateEventDetail = {
  page: number;
  previousPage: number;
}
CustomEvent<PaginationUpdateEventDetail>
update Emitted when the page changes.type PaginationUpdateEventDetail = {
  page: number;
  previousPage: number;
}
CustomEvent<PaginationUpdateEventDetail>
Global settingsThemeChanges the theme of the application and any Porsche Design System component. It's possible to choose between forced theme light and dark. It's also possible to use auto, which applies light or dark theme depending on the operating system settings automatically.LightDarkAuto (sync with operating system)DirectionChanges the direction of HTML elements, mostly used on<html> tag to support languages which are read from right to left like e.g. Arabic.LTR (left-to-right)RTL (right-to-left)AutoText ZoomChanges the text size and values with unit rem or em relatively. This setting can be defined in browser settings for any website or by an application itself on<html> tag. To achieve WCAG 2.2 AA compliance it's obligatory to support text zoom up to at least 200%.100%130%150%200%