Skip to main content

Common Use Cases

Worked examples for common things you'll want to build - at least one for every block type, beyond the starter example already shown on each type's own page.

Use caseBlock type(s)
Header with a Search BarHeader
Footer Tab Bar with a Free Shipping MessageFooter
Drawer Menu with a Customer GreetingDrawer Menu
Showing a Merchant-Selected ProductSection, Page
Showing Several Merchant-Selected ProductsSection, Page
FAQ Page with Expandable AnswersPage
Showing Metafields on a Product Display CardProduct List Item Display Card
Collection Row with Description and Loading StateCollection List Item Display Card
Discount Percentage and Sold Out StickerProduct Sticker
Product Specifications from Variant Options and MetafieldsProduct Information
Reward Progress Bar Based on Live Cart StateAny (useCart() isn't tied to a specific block type)
Executing Actions ProgrammaticallyAny (remoteAction isn't tied to a specific block type)