Scroll area

Vertical scrolling with a thin bar and faded edges.

Installation

Examples

Default

fade fades the content at an edge while more lies past it, and the bar shows while you hover or scroll.

demo.tsx

In a card

With flex-1 in a card of a fixed height, a list takes the room the header leaves and scrolls.

card.tsx

Effects

Anatomy

Each part's data-slot, which a theme styles, is beside it.