Components and tags
The built-in hk-* tags of Sneferu themes grouped by purpose: layout, text and media, product, cart, navigation and forms, localization and apps.
On this page
Sneferu themes are built from 30 built-in hk-* tags. They are grouped here by purpose; each tag has its own page with syntax, props, examples from the starter themes and related tags. The flat, complete list is the Tag reference.
Layout and structure
Sections, containers, stacks, grids, cards and the slot for shared section groups.
hk-section: A full-width band of the page with its own background and vertical padding.hk-container: Centres its content and limits it to a maximum width with horizontal padding.hk-stack: Lays its children out in a row or a column with a gap, alignment and wrapping.hk-grid: A responsive grid of columns with a gap and an optional minimum item width.hk-card: A box with background, radius, padding, border and shadow around its content.hk-section-group: Marks where a shared section group (header, footer, announcement) sits in a layout.
Text and media
Headings, text, rich text, badges, images, icons and the announcement bar.
hk-heading: A heading with a level, size, alignment and colour.hk-text: A paragraph of plain text with size, alignment and colour.hk-rich-text: Formatted text from an HTML string, sanitized before it is rendered.hk-badge: A small label such as New or Sale, with a tone.hk-image: An image with alt text, dimensions, aspect ratio, fit, loading mode and radius.hk-icon: An icon from the built-in set, with size, stroke and an accessible label.hk-announcement: A bar of up to six short messages that fade or scroll, optionally dismissible.
Product
Prices, product cards and grids, the gallery and the variant picker.
hk-price: Formats a price, with an optional compare-at price, for a product or a fixed amount.hk-product-card: A product card for a product, customizable through named parts.hk-product-grid: A grid of product cards for a list of products, with a limit and columns.hk-product-gallery: A product's images as a gallery with thumbnails.hk-variant-picker: Lets the shopper choose a product's options and variant.
Cart and checkout
Add to cart, the cart count, items, summary, drawer and the inline checkout frame.
hk-add-to-cart: The add to cart button for a product, with quantity and sold-out states.hk-cart-count: Shows the number of items in the cart.hk-cart-items: Lists the cart's lines, customizable through named parts.hk-cart-summary: The cart subtotal and the checkout button.hk-cart-drawer: A slide-in cart panel that can open when an item is added.hk-inline-checkout: Embeds Hekana's checkout for one product inside the page.
Navigation and forms
Buttons and links, the search form and pagination.
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.hk-pagination: Page links for a paginated list.
Localization
Switching the store locale.
hk-locale-switch: Lets the shopper switch the store locale.
Apps and custom code
Hekana app blocks and sanitized custom HTML and CSS.
hk-app-block: Renders a block from a Hekana app inside the page.hk-custom-html: Your own HTML and CSS, sanitized and scoped to the block.
