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

Paginator with arrows

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

Base Paginator

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

1 of 125

Installation

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

bash

npx ply-ui-cli add paginator

API Reference

For AI agents

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

bash

npx -y ply-ui-mcp

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

typescript (Example)

// Install: npx ply-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
ply-p-pageactivebooleanfalseIndicates if this page is currently the active/selected page.
ply-paginatorplyPaginatorbooleanfalseIf true, applies a distinct "base" visual variant.
ply-paginatorarrowsbooleanfalseIf true, shows explicit previous/next arrow buttons instead of standard pagination.
ply-paginatoritemsPerPagestring | number | nullnullThe currently selected number of items per page.
ply-paginatorpageSizeOptionsnumber[][10, 25, 50, 100]The available options for "items per page" dropdown. Defaults to [10, 25, 50, 100].