Sections

Redsbaby Features section

A features section from redsbaby.com, previewed live.

FeaturesBaby ProductsLarge Text

Credits
Nightjar
Built with
Shopify
Visit site

Redsbaby

How to build it on Shopify and how it moves. Not the brand’s code: one prompt for your AI.

A centred stack of very large one-line statements. Each one underlines on hover and opens as an accordion to show a short paragraph and a close icon.

Features1 block type9 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.

SectionAccordion itemItem toggleTitleExpand iconPanelSub textClose icon+ 2 more×4
  • SectionGroup

    Single centred column with generous vertical padding. Items stack with tight spacing.

    • Accordion itemGroupRepeats as item blocks

      4 in the reference. Each item is independent; whether others close when one opens is not shown.

      • Item toggleControlitem block · title

        Button wrapping the large title and a small circled-plus icon placed at its trailing baseline.

        • TitleTextitem block · title

          Very large display text, 2–4 words, one line on desktop. Underline sweeps in from the left on hover and sweeps out to the right on leave.

        • Expand iconIconSetting · show_icons

          Small circled plus next to the title. Hidden or replaced while the item is open.

      • PanelGroup

        Collapsed by default. Height animates open and closed.

        • Sub textRich textitem block · text

          Centred paragraph, ~15–25 words, much smaller than the title.

        • Close iconControlSetting · close_label

          Larger circled icon below the text that rotates between × and +. It closes the item.

Layout by breakpoint

Mobileup to 749px

Same stack. Titles scale down and may wrap to 2 lines.

Desktop990px and up

Centred column of large statements, one per line. An open panel pushes the following items down.

Interactions

What visitors can do, and what happens.

On hover

An underline draws in beneath the title from left to right. Pointer leaves; the underline retracts toward the right.

On click

The panel expands to reveal the sub text and close icon; following items shift down. Clicking the title or the close icon again animates the panel closed.

Theme editor settings

What a merchant can change on the section.

Content
Show expand iconscheckbox
Close button accessible labeltext
Open first item by defaultcheckbox
Allow only one open itemcheckbox
Layout
Alignmenttext_alignment
Title sizeselectLarge / Extra large
Style
Color schemecolor_scheme
Top paddingrange0–100 px
Bottom paddingrange0–100 px

Item blockup to 10 blocks in all

Titletext
Sub textrichtext

Starting layouts: Large text accordion

Open decisions

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

  • Only desktop (~1024px) was recorded; mobile behaviour is inferred.
  • It is unclear whether opening one item closes the others; added a 'single_open' toggle.
  • The panel's close icon rotates between × and +. It is treated as a second toggle that closes the item.
  • The small plus icon beside the title appears to hide while the item is open. This is inferred from frames.
  • Title size is exposed as a bounded select only because the large display text defines this section.

Build it in your theme

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

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

Built with

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

A features list of large-type statements where hovering a line sweeps an underline beneath it, and clicking opens that line like an accordion to reveal supporting text, pushing the lines below down; clicking again closes it smoothly.

On hoverOn click

Read from the uploaded recording; timings are estimates.

Sequence

What happens, in order.

  1. 1
    Hover underlineon hover · ~250ms

    As the pointer enters a headline row, a thick underline grows beneath it from the left edge to the right, quick with a soft ease-out settle over about 0.25s. It stays while the row is hovered or open.

    Underline sweep
  2. 2
    Accordion openon click · ~450ms

    On click, the row opens: the remaining headlines slide down together a large way, about a fifth of the screen, with a smooth ease-in-out over roughly 0.4s. The supporting paragraph fades from grey to full ink in the gap as it is uncovered, and a larger round plus icon appears beneath it and turns into a cross.

    Accordion expandSimple fadeMenu icon morph
  3. 3
    Accordion closeon click · ~400ms

    Clicking again turns the cross back to a plus, then the rows below rise together back into place over about 0.35s with an ease-out, overlapping the supporting text as it fades and collapses.

    Accordion expandSimple fade
  4. 4
    Hover outon hover · ~350ms

    When the pointer leaves, the underline retracts left to right, shrinking towards the right end over about 0.25s.

    Underline sweep

Patterns

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

Underline sweep

A line under a link grows across from one side on hover, and shrinks back when the pointer leaves.

Typical values
~300ms, staggered left to right over ~200ms, ease-out (approx., from the recording)
Build with
CSS — a pseudo-element scaled on the X axis with a transition.

Accordion expand

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

Typical values
~450ms, 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
250–400ms, ease-in-out (approx., from the recording)
Build with
CSS — a single opacity transition.

Menu icon morph

The menu button changes shape as the menu opens, for example the lines of a hamburger turning into a cross.

Typical values
~250ms, slides right ~9% of the screen, ease-in (approx., from the recording)
Build with
CSS — rotate and move the icon's lines with transforms when the open class is added.

Build steps

  1. Stack large centred headline rows, each with a small plus icon and a hidden supporting paragraph beneath.
  2. Add an underline under each headline that scales from the left on hover and exits towards the right on leave, about 0.25s with ease-out.
  3. On click, animate the paragraph container from zero to its natural height over about 0.4s ease-in-out so the rows below slide down smoothly.
  4. Fade the paragraph from light grey to full colour as it opens and show a round toggle that rotates from plus to cross.
  5. On second click, rotate the cross back, then collapse the height so rows rise back with an ease-out and fade the text out.

Animation style

Where this motion sits on the motion map.

BCinematicCImmersiveAFunctionalDPlayful
Primary

Functional / Invisible

The motion is input-driven state feedback, an underline on hover and an accordion on click, with short, smooth, non-overshooting easing.

Intensity2/5Subtle to spectacular
Tone2/5Serious to playful
FeelingCalm · Precise · Editorial

Take it with you

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

Similar sections

More features sections

View all
New
TWYG Skincare features / educational / ingredients section, skincare Shopify store example, desktop
TWYG SkincareFeatures, Educational, Ingredients
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 features / image with text section, supplements Shopify store example, desktop
Two IslandsFeatures, Image with Text, Supplements
View
New
George Cox features section, fashion Shopify store example, desktop
George CoxFeatures, Fashion, Brutalist
View
Watts features / educational section, pets Shopify store example, desktop
WattsFeatures, Educational, Pets
View
D.S. & Durga features / ingredients section, fragrance Shopify store example, desktop
D.S. & DurgaFeatures, Ingredients, Fragrance
View
Pas Normal features / specs section, sports Shopify store example, desktop
Pas NormalFeatures, Specs, Sports
View
Ellis Brigham features / specs section, sports Shopify store example, desktop
Ellis BrighamFeatures, Specs, Sports
View
Rains features section, fashion Shopify store example, desktop
RainsFeatures, Fashion
View
Ellis Brigham features / specs section, sports Shopify store example, desktop
Ellis BrighamFeatures, Specs, Sports
View
Db Journey features / specs section, luggage Shopify store example, desktop
Db JourneyFeatures, Specs, Luggage
View

The best of Shopify, curated weekly.

WebsitesSectionsFeatures
LoginSign up