Scroll Area
A scroll container with a theme-styled scrollbar. Supports vertical and horizontal orientation.
Installation
Copy the command below and run it in your terminal.
Usage
Import the Scroll Area and use it to wrap content:
A vertical Scroll Area fades its overflowing edges with a blurred cue. Pass showCues={false} to drop the cues entirely, or blur={false} to keep the fade and chevrons without the backdrop-filter.
Examples
Explore the Scroll Area in each orientation, and with the edge cue blur turned off.
Horizontal
Edge cue blur
The cue blurs the content passing under it. Pass blur={false} to keep the fade and chevrons without the backdrop-filter, which is worth doing
over long or animated content.
Default
blur={false}
Anatomy
ScrollArea - Provides a scrollable content area.
bunx @sivir-ui/svelte add scroll-area