Gatsby Ecommerce Theme
The Gatsby Ecommerce Theme is a free, open-source Gatsby starter template from the Matter Design Team that scaffolds a styled e-commerce storefront with mock data and a Netlify deployment pipeline. It gives you the styling and scaffolding, then lets you customize the design and add tooling for cart, transactions, and products.
What is the Gatsby Ecommerce Theme?
The Gatsby Ecommerce Theme is a Gatsby-based starter repository that provides the styling and scaffolding for an e-commerce site, including a Hero component, header and footer configuration, and sample blog and product data. It is designed by the Matter Design Team (matterdesign.com.au) and published as a Netlify template, with a live demo at https://gatsby-ecommerce-theme.netlify.app/. The theme uses Gatsby, CSS Modules, Prettier, and React Helmet, and includes a netlify.toml so gatsby build creates a static site in the public directory.
Key Features
- Gatsby static site generation — The
netlify.tomlsets the build command togatsby buildand locates the output inpublic, producing a static e-commerce site. - CSS Modules styling — Styles are scoped per component using CSS Modules, keeping styling isolated and maintainable.
- React Helmet — The theme includes React Helmet for managing metadata and head tags across pages.
- Editable header and footer —
src/config.jsoncontrols header links (menuLabelandmenuLink), dropdown categories withcategoryLabelandsubmenuarrays, and footer columns withsubTitleandlinks. - Configurable Hero component — The
<Hero/>component accepts props formaxWidth,image,title,subtitle,ctaText, andctaAction, letting you swap content without touching component logic. - Mock data for products and blog —
src/helpersstores sample product and blog data plus general utility functions. - One-click Netlify deployment — A Deploy to Netlify button creates a new repo, a Netlify project, and deploys the theme; the Netlify CLI
netlify sites:create-templatecommand offers the same flow. - Automated dependency updates — Renovate is configured via
renovate.jsonto regularly update dependencies; delete the file to disable it.
Who is it for?
The Gatsby Ecommerce Theme is built for front-end developers, agencies, and Netlify users who want a pre-styled storefront they can customize and extend rather than build from scratch.
- Developers — scaffold a headless e-commerce site and integrate BigCommerce as a backend, using the theme's structure and components.
- Agencies — use the included mock data and components to create quick client demos or prototypes.
- Netlify users — take advantage of the preconfigured
netlify.tomland one-click deploy to go live quickly.
What can you do with it?
- Prototype a storefront — Customize the Hero, header, and footer through
src/config.jsonand the Hero props, then deploy a demo with mock data to present to stakeholders. - Build a headless commerce store — Wire the theme to BigCommerce for headless e-commerce transactions, following Matter's JAMM framework guidance.
- Launch a blog-plus-shop site — Use the included blog preview components and mock data, then replace it with a CMS like Builder.io.
How does it work?
After cloning the repository, install dependencies with npm install or yarn install, then run npm start (or netlify run dev) to preview at http://localhost:5000. Edit src/config.json and the Hero component, then deploy using the Netlify CLI (netlify init or netlify deploy) or the Deploy to Netlify button.
FAQ
Is the Gatsby Ecommerce Theme free?
Yes, this is a free, open-source starter template published by Netlify Templates and the Matter Design Team, available for cloning and customization without licensing fees.
Are cart and transactions fully functional out of the box?
No. The README warns that some aspects of the theme are not fully functional and will need to be integrated with recommended tooling, such as BigCommerce for headless commerce, to handle carts, transactions, and product data.
How do I update the header and footer content?
Header and footer content is managed in the src/config.json file. Header entries use menuLabel and menuLink, with an optional category array for dropdown menus; footer entries use subTitle and nested links arrays.
Who maintains this theme?
The theme is designed by the Matter Design Team (matterdesign.com.au) and distributed as a Netlify template. It uses Gatsby, CSS Modules, Prettier, and React Helmet.




