Scroll area
A labeled native scrolling region with keyboard focus and a visible focus ring.
Focus the region and use the arrow keys or Page Down to read the list.
Each preview is its own Live page in a frame, because this site is a Vue 3.5 app built on the Pulsar starter kit. An open list or popover stays inside its frame; in your application it opens over the page.
Installation
suprnova live:add scroll-areaUsage
{% import "suprnova-ui/scroll-area/scroll-area.html" as scroll_area %}
{% call scroll_area::scroll_area("history", "Release history") %}<p>Release notes.</p>{% endcall %}Examples
Horizontal scrolling
A wide native table scrolls inside the focusable region.
Keyboard and accessibility
suprnova.scroll-area - a labeled region that scrolls natively (DATA-001). The region is focusable so the keyboard can scroll it, shows a visible focus ring, and never traps focus. Content keeps its document order.
API reference
scroll_area
| Parameter | Default | Description |
|---|---|---|
id | Required | The unique scrolling region id. |
label | Required | The accessible name of the keyboard-focusable region. |
axis | "block" | The scroll axis: block or inline. |
