Free
Pro

Paginator

If you have a website with lots of pages, you may wish to add some sort of pagination to each page:

free

Default Paginator

Use component <base-paginator></base-paginator>. And put the required pages with the component <base-p-page></base-p-page> inside. Add [active]="true" in <base-p-page> if you want to make that page active. Check example below.


HTML

Paginator with arrows

Add an input <[arrows]="true"> to get arrows instead words for navigation. Check example below


HTML

Base Paginator

To get specially designed from our team complex paginator use <[basePaginator]="true"> into the component. Check example below.

1 of 125


HTML

Installation

Run the following command to add this component to your project:

bash

npx base-ui-cli add paginator

API Reference

For AI agents

Copy a prompt with the registry name, CLI install, and import — or add the Base UI MCP server.

bash

npx -y base-ui-mcp

Base UI provides standalone components. Import the exact elements you want to use into your component.

typescript (Example)

// Install: npx base-ui-cli add paginator
// Paths are relative to aliases.components (default: src/app/components)
import { PPageComponent } from './paginator/p-page/p-page.component';
import { PaginatorComponent } from './paginator/paginator.component';

@Component({
  selector: 'app-your-component',
  imports: [
    PPageComponent,
    PaginatorComponent
  ],
  template: `...`
})
export class YourComponent {}

API for paginator — generated from JSDoc in the library source.

API reference for paginator
APIMemberTypeDefaultDescription
base-p-pageactivebooleanfalseIndicates if this page is currently the active/selected page.
base-paginatorbasePaginatorbooleanfalseIf true, applies a distinct "base" visual variant.
base-paginatorarrowsbooleanfalseIf true, shows explicit previous/next arrow buttons instead of standard pagination.
base-paginatoritemsPerPagestring | number | nullnullThe currently selected number of items per page.
base-paginatorpageSizeOptionsnumber[][10, 25, 50, 100]The available options for "items per page" dropdown. Defaults to [10, 25, 50, 100].