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

Examples

Tested Sneferu theme examples: hero, product card, grid, header, product page, cart, collection page and a localized section, each with a live preview.

On this page

Short, tested examples you can copy into a Sneferu theme. Each one is a real file from the starter theme, with the code, a live preview, the settings you can change and a few lines on how it works.

Hero section

A big heading, a line of text and a button over a coloured band, with an optional image.

Teaches: Sections, Settings, Blocks, Locale fallback, Snippets.

Result

Product card

One product as a tile: image, sale or sold-out badge, title and price.

Teaches: Snippets, render, Conditionals, Price display.

Result

Product grid

A titled grid of products from a collection, with columns, card style and limit as settings.

Teaches: Collections, Loops, Snippets, Settings, Responsive columns.

Result

Header and navigation

The store header: logo area, menu with sub-links, search, language switch and the cart button.

Teaches: Section groups, Menus, Blocks, Cart drawer, Language switch.

Result

Product details

The product page: gallery, breadcrumb and an info column built from blocks.

Teaches: Page types, Blocks, Product gallery, Variants, Add to cart.

Result

Cart page

The cart: line items, an empty state, a summary and a checkout button.

Teaches: Cart, Parts, Empty states, Checkout button.

Result

Collection page

A product listing with sorting, filters and pagination.

Teaches: Page types, Sorting and filters, Loops, Pagination.

Result

Localized section

The same hero in English and Arabic from two language files, with the layout flipping to right to left.

Teaches: Locale files, t(), Localized settings, Right to left.

Result

Next steps