ComponentsDot Pagination

DotPagination

Pagination is the process of dividing a document into discrete pages. It relates to how users interact with structured content on a website or application. This component uses Radio Buttons to represent each page.

GitHub LogoSource Code

You can use the HvPagination component to create a more complete pagination layout. Please refer to the Pagination documentation for usage.

Usage

You can use the HvDotPagination component to create a simple pagination based on dots. The page prop is used to control the current page, and the onPageChange prop is used to handle page changes.

This is page 1


Custom dots

You can use custom icons for the selected and unselected dots in the HvDotPagination component.

This is page 1