Hydrogen includes a set of examples that demonstrate integrations and special use cases. This guide describes the available examples that you can explore.
How it worksAnchor link to section titled "How it works"
All Hydrogen examples are located in the
/examples directory in the
Shopify/hydrogen repository. Each example includes ready-to-use code that you can copy and paste.
Official Hydrogen examplesAnchor link to section titled "Official Hydrogen examples"
Shopify provides a variety of official Hydrogen examples:
Explore an example implementation of fetching data from first-party (Shopify) and third-party data sources.
Explore an example implementation of integrating Multipass login with Hydrogen's customer and checkout sessions.
Third-party Hydrogen examplesAnchor link to section titled "Third-party Hydrogen examples"
The following examples are created and maintained by members of the Shopify community. They aren’t official Hydrogen examples.