Theme blocks
Definition
Theme blocks are the repeatable, merchant-arrangeable units inside a Shopify section. A section's schema declares block types with their own settings and limits, and a merchant adds, removes and reorders instances in the theme editor. Liquid renders them in one loop that branches on block type, so a single section can serve many page compositions without a template per variation.
Documented at https://shopify.dev/docs/storefronts/themes/architecture/blocks.
How we've used it
Blocks are how a product page stops being a deploy. The recurring move is to take everything a merchandiser might reorder — badge copy, ingredient rails, customer-photo rows, bundle rails, icon grids, campaign ribbons — and declare each as a block type dispatched from one case statement, so several product templates share one section and differ only in settings. Two rules keep it from collapsing. Block settings hold layout and behavior; metafields hold the words, because copy varies per product and settings don't. And when a block needs a variation the schema can't express, we fork to a new section type rather than editing the live one, since the theme editor keys saved settings to the section type and an in-place schema change would clobber templates that are already merchandised.
Builds using it
- Collection page: three filter modes, in-grid promo blocks and infinite scroll — Three Ships
- Merchandisable homepage product carousel with a tag-driven badge engine and inline add-to-bag — LUS Brands
- Variant-aware PDP hero banner driven by a 'heroic' metaobject — LUS Brands
- Audience-targeted announcement bar with sticky-height measurement — LUS Brands
- Rotating announcement carousel above the header, with pause control — Nudestix
- Arched-label icon grid PDP block — LUS Brands
- Tabbed collection product slider and the shared merchandising card — Three Ships
- Marketing image banner with mobile art, typography controls and highlight headings — LUS Brands
- DE Hero: art-directed image/video hero with layout controls — LUS Brands
- Shop-by-category carousel with collection-aware card fallbacks — LUS Brands
- Press / trust logo strip with scroll-snap carousel and no JavaScript — LUS Brands
- Mega-menu header with separate mobile menu and image blocks — Three Ships
- PDP content accordion that borrows the premium theme's collapsible contract — Three Ships
- Product-page FAQ accordion: page-backed answers, mobile 'View More' reveal, auto-emitted FAQPage — Three Ships
- Filter-triggered promo cards inside the search results grid — Three Ships
- Subscription bundle grid with tiered unlock progress — Three Ships
- Responsive video hero with independent desktop/mobile sources and single-source-of-truth playback controls — LUS Brands
- Before/after customer results carousel with an attached product card — Nudestix
- Tabbed mobile Shop menu with featured banner panel — Three Ships
- Rich-text section rebuilt as a per-block typography and highlight system — LUS Brands
- "Start with the basics" — a merchandiser-authored 3-step routine section with measured read-more clamping — LUS Brands
28 further gated builds use it; their pages follow.
Related entities
Liquid section schema and settings · Theme sections · Section presets · Theme app extension blocks · Metafields