Components
← All components

Scroll Area

stimeo--scroll-area

Adds keyboard reachability and scroll-state hooks to a natively scrolling region.

The stimeo--scroll-area controller adds accessibility and CSS state to a natively scrolling region without drawing a custom scrollbar. When the content overflows and the viewport holds no focusable elements of its own, the viewport is made keyboard-scrollable (tabindex="0", plus role="region" when it already has an accessible name). Scroll position is published as data-scroll (start / middle / end), overflow as data-overflow, and progress as --stimeo-scroll-progress (0–1) so consumer CSS can draw scroll shadows. It dispatches stimeo--scroll-area:reach at the edges, and the scroll listener and resize observer are torn down on disconnect (Turbo included).

running

This region scrolls with the keyboard once it overflows. Tab to it, then use the arrow keys.

Log line 1

Log line 2

Log line 3

Log line 4

Log line 5

Log line 6

Log line 7

Log line 8

Log line 9

Log line 10

Log line 11

Log line 12

Keyboard

KeyAction
↑ / ↓ / ← / → Scroll the region (browser default once focusable).
PageUp / PageDown Scroll by one page.
Home / End Scroll to the start / end.