How shopify/dawn works
Dawn is Shopify’s server-rendered, HTML-first storefront theme. A shopper requests a storefront page; Shopify dispatches the matching Liquid template, which renders sections and snippets using theme settings, translations, and assets. Browser JavaScript progressively enhances product selection, search, filtering, cart, localization, pickup, and media interactions, while Shopify remains the commerce backend. The tree supports these capabilities, but no source excerpts were provided, so optional wiring is shown conservatively.
Main entry points: theme.liquid Theme Runtime · templates Page Templates · main-collection-product-grid.liquid Collection Experience · main-search.liquid Search Experience
Components 22
Theme Rendering
- Theme Runtime
layout/theme.liquid - Page Templates
templates - Section Library
sections - Snippet Library
snippets
Catalog Experiences
- Product Experience
sections/main-product.liquid - Collection Experience
sections/main-collection-product-grid.liquid - Search Experience
sections/main-search.liquid - Media Gallery
assets/media-gallery.js
Commerce Journeys
- Cart Experience
sections/cart-drawer.liquid - Pickup Availability
sections/pickup-availability.liquid - Newsletter Signup
sections/newsletter.liquid - Shopify Commerce
Browser Enhancements
- Product Behavior
assets/product-form.js - Predictive Search
assets/predictive-search.js - Facet Behavior
assets/facets.js - Localization Behavior
assets/localization-form.js
Theme Configuration
- Theme Settings
config/settings_schema.json - Translation Catalog
locales/en.default.json - Theme Assets
assets/base.css
Other components
- Shopper
- Merchant
- Shopify Platform
Connections 28
- Shopper → Shopify Platform: requests pages
- Shopify Platform → Theme Runtime: renders theme
- Theme Runtime → Page Templates: dispatches
- Page Templates → Section Library: renders sections
- Section Library → Snippet Library: renders snippets
- Theme Runtime → Theme Settings: reads settings
- Theme Runtime → Translation Catalog: reads translations
- Theme Runtime → Theme Assets: loads assets
- Page Templates → Product Experience: renders product
- Page Templates → Collection Experience: renders collection
- Page Templates → Search Experience: renders search
- Product Experience → Media Gallery: enhances media
- Shopper → Product Behavior: selects product
- Product Behavior → Shopify Commerce: updates cart
- Shopper → Collection Experience: browses products
- Collection Experience → Facet Behavior: filters results
- Shopper → Search Experience: searches catalog
- Search Experience → Predictive Search: enhances search
- Predictive Search → Shopify Commerce: queries catalog
- Shopper → Cart Experience: manages cart
- Cart Experience → Shopify Commerce: updates cart
- Shopper → Pickup Availability: checks pickup
- Pickup Availability → Shopify Commerce: requests availability
- Shopper → Newsletter Signup: submits signup
- Newsletter Signup → Shopify Commerce: submits signup
- Merchant → Theme Settings: configures theme
- Shopper → Localization Behavior: changes locale
- Localization Behavior → Shopify Commerce: updates locale