Skip to content
Hekana Spray
Documentation
Getting started
Theme development
Components and tags

Localization

Apps and custom code

Examples and recipes
API reference
Publishing
Build apps
AI development

<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

html
<hk-pagination />

Children: None. The tag is self-closing.

Props

Write props as kebab-case attributes.

PropTypeRequiredDefaultAllowed valuesEditor label
paginatedatano--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:

html
<hk-pagination paginate="{{ paginate }}" />
  • 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.

Next steps