Shelf — Collections

  • Page template
  • page
  • Beauty
  • Shopify Liquid ready
  • 9.6 KB JS

Page template with 5 sections: Page header, Collection directory, Quick view modal, Standards trust band, Newsletter. Part of Shelf, a beauty theme for multi-brand clean beauty retailer, in the free, open-source Blocko library.

Open live demo Open in library

Features

  • Ships 9.6 KB of vanilla JavaScript, registered as an idempotent Custom Element.
  • All its sections ship as Shopify Liquid, so you can assemble the page as a JSON template.
  • Category page. Made for beauty stores.

Section order

  1. Page header
  2. Collection directory
  3. Quick view modal
  4. Standards trust band
  5. Newsletter

Preview

Shelf — Collections preview

Use it with your agent

Paste this one-line prompt into any coding agent. It asks where the page template should go before it changes anything.

Use the Blocko library (https://github.com/blockoai/blocko) or its Claude Code plugin (claude plugin marketplace add blockoai/blocko && claude plugin install blocko-sections@blocko) to build the page "Shelf — Collections" in my project. Template `collections`, theme `shelf`. Live demo: https://demo.blocko.ai/html/shelf/templates/collections.html. It has these sections in order: collections-banner, home-collection-collections-directory, home-collection-quick-view-modal, collections-trust, newsletter. Bundles live in sections/shelf/, HTML in demo/shelf/sections/. Before changing any code, ask me which project/theme it belongs to, whether it's a new page/template or replaces/extends an existing one (and which), and which sections to keep or drop. Also ask if the target is a Shopify theme (JSON template) or plain HTML. Skip anything I've already said. Restate the plan and wait for my OK, then follow the repo's AGENTS.md. Keep the blko- class prefix and CSS tokens (with fallbacks), make custom elements idempotent, and don't touch unrelated code. Run `shopify theme check` for Shopify targets. Finish by telling me how to add/arrange it (Theme Editor steps for Shopify).

Connected to the Blocko MCP server (https://blocko.ai/mcp)? Ask your agent to run get_item for shelf/collections, then get_item_source and get_install_guide. Connect your agent.