import{j as e}from"./index-bIIEL2MP.js";import{useMDXComponents as t}from"./index-CO-0pc0F.js";import{M as s}from"./index-Z-6k0Xrj.js";import{S as c}from"./Scroller.stories-Dkiataa7.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./iframe-CzjIX-qr.js";import"./index-aQYXhgXp.js";import"./index-DrFu-skq.js";import"./props-b4vEeO_8.js";import"./runtime-C3rQLW--.js";import"./lifecycle-F2p_Qkk3.js";import"./create-runtime-stories-7AWWVphH.js";import"./snippet-C5kbqVpq.js";import"./svelte-component-C8Ginrj8.js";import"./get-C3XmtPLd.js";import"./attributes-Cg6aLqN3.js";import"./style-DvJ3IcV1.js";import"./ScrollerBase-DJMKplMV.js";import"./index-client-BAw8T8-V.js";import"./this-CrUBQEQ_.js";import"./window-DXjFTZv5.js";import"./each-CVpBMMjG.js";import"./Markdown-DUxFwijc.js";import"./Block-D3Ui8rd-.js";import"./size-DMdj3-I9.js";function r(o){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...t(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx(s,{of:c}),` `,e.jsx(n.h1,{id:"scroller",children:"Scroller"}),` `,e.jsxs(n.p,{children:["The ",e.jsx(n.code,{children:"Scroller"})," component creates a basic scrollytelling graphic with layout options."]}),` `,e.jsxs(n.p,{children:["This component is designed to handle most common layouts for scrollytelling. To make something more complex, customise ",e.jsx(n.a,{href:"?path=/story/components-graphics-scrollerbase--docs",children:"ScrollerBase"}),", which is a Svelte 5 version of the ",e.jsx(n.a,{href:"https://github.com/sveltejs/svelte-scroller",rel:"nofollow",children:"svelte-scroller"}),"."]}),` `,e.jsx(n.p,{children:e.jsx(n.a,{href:"?path=/story/components-graphics-scroller--demo",children:"Demo"})}),` `,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-svelte",children:`