Sections

Two Islands Educational / Ingredients section

A educational / ingredients section from twoislandsco.com, previewed live.

EducationalIngredientsSupplementsAccordion

Credits
S/A
Built with
Shopify
See 7 more sections from Two Islands
Visit site

Two Islands

Values measured from the public site. Fonts may need a licence from their foundry.

Colours

3 colours, by how much of the page uses them. Click to copy.

Type scale

Desktop and mobile sizes, line height, weight and letter spacing.

StyleSampleSizeLineWeightTracking
Heading 1Season SerifDesigned to last4227 mobile1.053000
Heading 2PP MoriMade from recycled materials and built to last.2420 mobile1.133000
Heading 3PP MoriMade from recycled materials and built to last.2218 mobile1.153000
Heading 4PP MoriMade from recycled materials and built to last.1916 mobile1.214000
BodyPP MoriMade from recycled materials and built to last.1615 mobile1.384000
SmallPP MoriMade from recycled materials and built to last.1010 mobile1.54000

Fonts

The font families used and where they come from.

Aa
Season SerifHeadings
Self-hosted
Aa
PP MoriHeadings and body
Self-hosted

Take it with you

The whole design spec as one Markdown file, for your notes or an AI tool.

Store Supplies describes how this site is built, using what’s publicly visible, for reference and learning. All trademarks, imagery and designs belong to Two Islands, which isn’t affiliated with us. Own this site?

A narrow text column (heading and intro at the top, a single-open accordion pinned to the bottom) sits beside a wide static landscape image. Opening a row grows the accordion upward.

Ingredients1 block type13 settings

Read from the recording; layouts at other screen sizes are inferred. Structure only: colours, fonts and copy come from your theme.

Prerequisites

  1. An AI coding tool that can edit files
  2. The Shopify CLI, with your theme pulled
  3. Optional: Shopify AI Toolkit or Dev MCP

Anatomy

The section’s structure on desktop and mobile, by part.

SectionText columnIntroHeadingIntro textAccordionAccordion rowRow togglePlus/m…+ 1 more×3Image
  • SectionGroup

    Two columns, roughly 1/3 text and 2/3 image. The text column stretches to the image height.

    • Text columnGroup

      Flex column with space-between: intro at the top, accordion at the bottom.

      • IntroGroup
        • HeadingTextSetting · heading

          Large heading, 3–5 words, 2 lines

        • Intro textRich textSetting · text

          About 40–50 words

      • AccordionGroup

        Anchored to the bottom of the column, so opening a row pushes the rows above it upward. Thin dividers sit between rows.

        • Accordion rowGroupRepeats as item blocks

          3 in the reference

          • Row toggleControlitem block · title

            Full-width button with the title on the left and a +/- icon on the right

          • Plus/minus iconIconSetting · single_open

            Generated by the section rather than typed by the merchant. Shows + when closed and − when open.

          • Row contentRich textitem block · content

            About 20–35 words, revealed by a height transition

    • ImageImageSetting · image

      Static landscape image, about 1.3:1, filling the right two-thirds

Layout by breakpoint

Mobileup to 749px

Single column: heading and intro, then the image, then the accordion. The accordion is no longer bottom-anchored.

Desktop990px and up

Text column (about 1/3) beside the image (about 2/3). The column height matches the image; the intro sits at the top and the accordion at the bottom.

Interactions

What visitors can do, and what happens.

On click

The clicked row's content expands and its icon switches from + to −. Any other open row collapses at the same time. Because the accordion is bottom-anchored, the rows grow upward. Clicking the open row again collapses it.

Theme editor settings

What a merchant can change on the section.

Content
Headinginline_richtext
Intro textrichtext
Imageimage_picker
Image alt texttext
Layout
Image position on desktopselectRight / Left
Image ratioselectLandscape / Square / Portrait / Adapt to image
Mobile image positionselectBetween intro and accordion / Top / Bottom
Only one row open at a timecheckbox
Open first row by defaultcheckbox
Show row dividerscheckbox
Style
Color schemecolor_scheme
Top paddingrange0–100 px
Bottom paddingrange0–100 px

Accordion row blockup to 8 blocks in all

Titletext
Contentrichtext

Starting layouts: Image with accordion

Open decisions

Judgment calls made reading the section. Your AI will see these too.

  • The mobile and tablet layouts were not seen. The stacked order (intro, image, accordion) is assumed, with a setting to choose where the image goes.
  • Upward expansion comes from bottom-anchoring the accordion inside a column that matches the image height. On mobile it expands downward normally.
  • 'Only one row open' matches the reference. Allowing several open rows is an added option.
  • The image is decorative-static, with no link. Alt text is exposed as a setting.
  • The image-left position and the 'open first row' option are added variations, not observed in the reference.

Build it in your theme

Paste the prompt into your AI tool. It works out your theme’s block setup, then builds the section.

Built with

GSAPAnimation engine
GSAP ScrollTriggerScroll-triggered and scrubbed animation
GSAP ScrollSmootherSmooth scrolling

A two-column ingredients section with a heading, intro and bottom-anchored accordion in the left third beside a static landscape image; clicking a row opens its text, closes the previously open row and grows the accordion upwards.

On click

Read from the uploaded recording; timings are estimates.

Sequence

What happens, in order.

  1. 1
    First row openson click · ~400ms

    Clicking the first row makes its body text unfold beneath the title while the row title and divider glide upwards, because the accordion is anchored to the bottom and grows towards the heading. The plus switches to a minus at once, and the text clears from top to bottom in a smooth ease-in-out over about 0.4s, settling softly with no overshoot.

    Accordion expandSimple fade
  2. 2
    Switch to second rowon click · ~400ms

    Clicking the second row collapses the open first row while the second one opens at the same moment, so the two overlap rather than wait. The upper titles slide back down as the first panel shrinks and the new text unfolds below its title, all in about 0.4s with a gentle ease-in-out, with the icons swapping plus and minus instantly.

    Accordion expand

Patterns

The techniques behind it, with typical values. A guide to the approach, not a copy.

Accordion expand

A row opens to reveal more content beneath it, pushing the content below down smoothly instead of jumping.

Typical values
~400ms, staggered left to right over ~200ms, ease-in-out (approx., from the recording)
Build with
CSS — animate the height (or grid rows) of the panel, with the content fading in.

Simple fade

An element fades in or out without moving. Used for supporting content where movement would distract.

Typical values
~200ms, ease-out (approx., from the recording)
Build with
CSS — a single opacity transition.

Build steps

  1. Lay out a two-column grid: heading and intro at the top of a narrow left column, the accordion pinned to its bottom, and a static image filling the wider right column.
  2. Build each row as a title button with a plus/minus icon and a thin divider, with a clipped body panel collapsed to zero height.
  3. On click, animate the chosen panel's height from zero to its natural size over about 0.4s with a smooth ease-in-out; because the list is bottom-anchored, the rows above rise upwards.
  4. At the same moment collapse any open row over the same duration so the close and open overlap, keeping the overall height change smooth.
  5. Swap the icon from plus to minus instantly, and update the expanded state for assistive technology.

Animation style

Where this motion sits on the motion map.

BCinematicCImmersiveAFunctionalDPlayful
Primary

Functional / Invisible

The only motion is a short, click-triggered accordion open and close with small distances and smooth easing, purely confirming input.

Intensity1/5Subtle to spectacular
Tone2/5Serious to playful
FeelingCalm · Precise · Clean

Take it with you

Everything above as one Markdown file, for your notes or an AI tool.

Similar sections

More educational / ingredients sections

View all
New
Two Islands features / educational section, supplements Shopify store example, desktop
Two IslandsFeatures, Educational, Supplements
View
New
Two Islands educational / ingredients / glossary section, supplements Shopify store example, desktop
Two IslandsEducational, Ingredients, Glossary
View
New
Two Islands features / educational / ingredients section, supplements Shopify store example, desktop
Two IslandsFeatures, Educational, Ingredients
View
New
Two Islands about / ingredients section, supplements Shopify store example, desktop
Two IslandsAbout, Ingredients, Supplements
View
Seed educational / ingredients / usps section, supplements Shopify store example, desktop
SeedEducational, Ingredients, USPs
View
AG1 educational / ingredients section, supplements Shopify store example, desktop
AG1Educational, Ingredients, Supplements
View
Heights educational / ingredients section, supplements Shopify store example, desktop
HeightsEducational, Ingredients, Supplements
View
Seed educational section, supplements Shopify store example, desktop
SeedEducational, Supplements, Bento
View
New
Eternal Blue educational / ingredients section, cosmetics Shopify store example, desktop
Eternal BlueEducational, Ingredients, Cosmetics
View
New
TWYG Skincare educational / ingredients section, skincare Shopify store example, desktop
TWYG SkincareEducational, Ingredients, Skincare
View
New
TWYG Skincare features / educational / ingredients section, skincare Shopify store example, desktop
TWYG SkincareFeatures, Educational, Ingredients
View
New
TWYG Skincare image with text / educational / ingredients section, skincare Shopify store example, desktop
TWYG SkincareImage with Text, Educational, Ingredients
View

More from Two Islands

Other sections from this website

View all
New
Two Islands product page / subscriptions section, supplements Shopify store example, desktop
Two IslandsProduct Page, Subscriptions, Supplements
View
New
Two Islands educational / ingredients / glossary section, supplements Shopify store example, desktop
Two IslandsEducational, Ingredients, Glossary
View
New
Two Islands features / educational / ingredients section, supplements Shopify store example, desktop
Two IslandsFeatures, Educational, Ingredients
View
New
Two Islands features / educational section, supplements Shopify store example, desktop
Two IslandsFeatures, Educational, Supplements
View
New
Two Islands about / ingredients section, supplements Shopify store example, desktop
Two IslandsAbout, Ingredients, Supplements
View
New
Two Islands collection list section, supplements Shopify store example, desktop
Two IslandsCollection list, Supplements, Clinical
View
New
Two Islands features / image with text section, supplements Shopify store example, desktop
Two IslandsFeatures, Image with Text, Supplements
View

The best of Shopify, curated weekly.

WebsitesSectionsFeatures
LoginSign up