<hk-pagination>
hk-pagination: Page links for a paginated list. Syntax, props, defaults and examples.
On this page
Page links for a paginated list.
Group: Navigation and forms. Name in the editor: Pagination. Complete props for every tag: Tag reference.
Syntax
<hk-pagination />Children: None. The tag is self-closing.
Props
Write props as kebab-case attributes.
| Prop | Type | Required | Default | Allowed values | Editor label |
|---|---|---|---|---|---|
paginate | data | no | - | - | Pagination data |
Required props
None. Every prop has a default or can be left out.
Examples
From packages/templates-default/theme/sections/collection-main.snf, lines 44 to 44:
<hk-pagination paginate="{{ paginate }}" />Related tags
hk-button: A button or link with a label, destination, variant, size and optional icon.hk-search-form: The store search form with placeholder, label and button text.
