Layout
Overlay scroll panel
Overlay scroll panel: A bounded panel that hides the platform scrollbar and draws its own slim overlay track, thumb sized to the content.
Using Overlay scroll panel
Overlay scroll panel uses the card preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
orientation | select | vertical | Options: vertical, horizontal, both |
height | number | 280 | From 140 to 420; step 10 |
thumbSize | number | 8 | From 4 to 14; step 1 |
autoHide | boolean | true | No additional limit in the metadata. |
accent | color | #38BDF8 | No additional limit in the metadata. |
Which frameworks are available for Overlay scroll panel?
Overlay scroll panel is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Overlay scroll panel depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Overlay scroll panel?
The React source for Overlay scroll panel includes: attributes and handlers (aria-hidden, aria-label, onKeyDown, tabIndex); explicit roles (region); key comparisons (ArrowDown, ArrowLeft, ArrowRight, ArrowUp, End, Home, PageDown, PageUp). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Overlay scroll panel handle reduced motion?
Overlay scroll panel reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.