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| Name | Type | Default | Description |
|---|---|---|---|
eyebrow | string | "How it comes together" | Small label above the heading. Leave empty for none. |
heading | string | "From first draft to final check" | The heading of the section. Leave empty for none. |
lead | string | "Four short chapters that follow one piece of work from start to finish." | The line under the heading. Leave empty for none. |
chapters | PinStoryChapter[] | DEFAULT_CHAPTERS | The 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. |
progress | boolean | true | Show the progress rail with a button per chapter. |
className | string | None |