- Docs
- Components
- Layout
Scroll area
A scrolling region with Qeetrix scrollbars; it takes keyboard focus when its content overflows.
- Import
- @qeetrix/react
- Status
- StableSince 0.0.2
- Renders
<div role="region">Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
A long list
Give it a height; 8px scrollbars show on hover, while scrolling and on keyboard focus. Named by aria-label, it's a region that takes focus when it overflows.
<ScrollArea aria-label="Audit events" style={{ blockSize: 240 }}>
<AuditEvents />
</ScrollArea>02
Sideways
orientation="horizontal": a long URL, sideways.
<ScrollArea orientation="horizontal" aria-label="Authorization URL">…</ScrollArea>03
Both ways
orientation="both", with a corner where the bars meet.
<ScrollArea orientation="both" aria-label="Events and the URL" style={{ blockSize: 160 }}>…</ScrollArea>