Scroll Area for Angular
Introduction
Section titled “Introduction”Enhances an element whose content can overflow: native scrolling, edge fades where more content exists (a CSS mask, no added elements), and, while the content overflows, a named keyboard-focusable region so keyboard users can scroll it. No custom-drawn scrollbars.
- Enhance in placeTurns an existing element into a labelled scroll region without moving its content.
- Keyboard scrollingOverflowing regions become focusable so keyboard users can scroll them.
- Edge fadesShadows show where more content is hidden, on any edge.
- Any axisVertical, horizontal, or both, with a maximum block size you choose.
Behavior, design tokens, and limitations are described on the Scroll Area page; this page covers the Angular API.
Live example
Section titled “Live example”import { Component } from '@angular/core';import { AuiScrollArea } from '@absoluteui/angular/scroll-area';
@Component({ selector: 'app-activity', imports: [AuiScrollArea], template: ` <ul auiScrollArea label="Activity" maxBlockSize="16rem"> @for (entry of entries; track entry) { <li>{{ entry }}</li> } </ul>`,})export class ActivityComponent { readonly entries = Array.from({ length: 40 }, (_, i) => `Entry ${String(i + 1)}`);}Install and start
Section titled “Install and start”npm install @absoluteui/angular @absoluteui/components @absoluteui/core @absoluteui/themeSetup with provideAbsoluteUI() is covered in Getting started. Styles are included with the component.
import { AuiScrollArea } from '@absoluteui/angular/scroll-area';Defaults for every instance: provideAbsoluteUIConfig({ components: { scrollArea: { ... } } }) (see Configuration).
API reference
Section titled “API reference”[auiScrollArea]
Section titled “[auiScrollArea]”Class AuiScrollArea; template reference #ref="auiScrollArea".
AbsoluteUI Scroll Area: <div auiScrollArea label="Release notes" maxBlockSize="20rem">...</div>. Enhances the element in place (native scrolling, edge fades, a focusable region while it overflows); the projected content stays Angular-managed.
Server rendering: Renders in the browser only; on the server the element stays empty.
Inputs
Section titled “Inputs”| Input | Type | Default | Description |
|---|---|---|---|
label |
string |
Required. Accessible name of the region. | |
orientation |
ScrollAreaOrientation |
'vertical' |
Scroll axis. |
maxBlockSize |
string |
Maximum block size as a CSS length (sets –aui-scroll-area-max-block-size). | |
shadows |
boolean |
true |
Fade the edges where more content exists. |
Accessibility and performance
Section titled “Accessibility and performance”Pattern: Scrollable region (WCAG 2.1.1): a scrollable element that holds no focusable content must itself be focusable and named; it is a region with aria-label while it overflows.
The Angular component renders the framework-neutral component, so its keyboard support, roles, WCAG 2.2 criteria, budgets, and import cost apply unchanged: see Scroll Area: Accessibility and performance.
(c) 2026 Kasadara Technology Solutions Pvt Ltd. AbsoluteUI is free to use under the AbsoluteUI Free Use License; it is not open source.