An ingredients section for Shopify beauty, food and wellness stores. It shows your key ingredients as a grid of cards, each with an image or a line icon, a short label, a name and what it does, followed by a row of "free from" tags and the full ingredient list (INCI) in a toggle. Use it on product pages or on a brand story page. Copy section.liquid into your theme's sections folder and add it from the theme editor as "WDS Ingredients".
How it works
Each ingredient and each free-from tag is a block, so you can add, remove and reorder them in the theme editor. An ingredient without an image shows one of seven built-in line icons (leaf, drop, flower, grain, seed, citrus, sun) in a tinted circle, so the grid looks finished before you have photos.
The full ingredient list sits in a native details element. It opens and closes without JavaScript, and it opens automatically when you select the section in the theme editor. On screens 990 px and wider, the free-from tags and the ingredient list sit side by side under the grid; on smaller screens they stack.
Customization
All of these are in the theme editor:
- Subheading, Heading and Intro (rich text).
- Image style: a small round image or icon beside the text, or a large 4:3 image on top of each card.
- Columns on desktop (2 to 4) and Columns on mobile (1 or 2). Tablets show two columns.
- Free from heading, plus Free from tag blocks.
- Toggle label, Ingredient list (rich text), Note and Show the list open.
- On each Ingredient block: Image, Icon, Label, Name and Benefit.
- Background, Text, Accent and Cards colors.
- Side padding, Top padding and Bottom padding.
Accessibility
The section heading is an h2 and each ingredient name an h3. The grid and the tags are real lists. The toggle is a details and summary pair, so Tab reaches it and Enter or Space opens it, with a visible focus outline. Icons are decorative and hidden from screen readers, images use their alt text or the ingredient name, and the plus/minus animation is turned off for people who prefer reduced motion.
Usage notes
This section requires an Online Store 2.0 theme. It takes its fonts from your theme.
The preview shows the default sample content with icons and no photos. The section does not read product data or metafields: the text is the same wherever you place it, so on a shared product template it suits a store with one formula or one product line. For several products with different formulas, create a product template per formula.
Copy your ingredient list exactly from the product label, and keep benefit texts to claims you can support. The note under the list reminds shoppers to check the label of the product they receive.