Story Sequence

Chapters that swap a pinned image as you scroll.

A morning ritual in three frames.

Start with the bean.

Small differences become the whole cup. Texture, aroma, and the moment a familiar ritual begins.

Roasted coffee beans on the steel counter, with the same cobalt cup behind them.

Give it a moment.

The first pour. The slow bloom. A little attention changes an everyday drink into something worth pausing for.

A slender stream of coffee pours into the cobalt cup.

Make room for the first sip.

A warm cup. A clear counter. A moment that belongs to you, before the day asks for anything else.

A cobalt ceramic cup of coffee on a brushed steel counter in morning light.
import { StorySequence } from '@brand-studio/ui';
import { chapters } from '@/demos/assets';

export default function StorySequenceDemo() {
  return <StorySequence title="A morning ritual in three frames." chapters={chapters} />;
}

Installation

pnpm add @brand-studio/ui

Usage

import { StorySequence } from '@brand-studio/ui';
<StorySequence title="A morning ritual." chapters={chapters} />

Accessibility

  • On wide screens with motion allowed, one pinned image changes as each chapter scrolls past.
  • On phones, without JavaScript and under reduced motion, every image stays in the flow beside its chapter.

API Reference

PropTypeDefault
titlestring
chaptersStoryChapter[]
id?string
motion?"auto" | "off"'auto'

Still, Deskhand and Hollis are fictional brands. The coffee photographs are original generated artwork. @brand-studio/ui is MIT licensed.