Skip to content
PixiKit

Pin Story

A long-form section: short chapters scroll past while one media panel stays pinned and changes to match the chapter in view. A rail of buttons fills to the active chapter. The panel sits inline above each chapter in a narrow container.

pixikit.com/docs/blocks/content/pin-story

Customize

Side
Scroll target
Progress

Props

8
NameTypeDefaultDescription
eyebrowstring"How it comes together"Small label above the heading. Leave empty for none.
headingstring"From first draft to final check"The heading of the section. Leave empty for none.
leadstring"Four short chapters that follow one piece of work from start to finish."The line under the heading. Leave empty for none.
chaptersPinStoryChapter[]DEFAULT_CHAPTERSThe chapters, in order. A chapter without media or image gets a built-in panel.
side"left" | "right""right"Which side the pinned media panel sits on.
scrollTarget"window" | "parent""window"Watch the page scroll, or the nearest scrolling parent.
progressbooleantrueShow the progress rail with a button per chapter.
classNamestringNone

Related