Scroll Area

A scrollable region with consistent scrollbars, for code, side panels and long lists.

Installation

Once per app, set up Aedis UI. The CLI verifies the signed release before writing anything and pins every dependency:

npx @aedis/cli@0.1.0 init

Import the theme once in your global CSS, after Tailwind:

app/globals.css
@import "tailwindcss";@import "./styles/aedis-theme.css";

Then add the component:

npx @aedis/cli@0.1.0 add scroll-area# pnpm dlx @aedis/cli@0.1.0 add scroll-area · yarn dlx @aedis/cli@0.1.0 add scroll-area · bunx @aedis/cli@0.1.0 add scroll-area

Props

PropTypeDefaultDescription
aria-labelstring—Names the region; the viewport is focusable when it overflows so the keyboard can scroll it.
...props@base-ui/react ScrollArea props—Every prop of the underlying Base UI part, including render for composition.

Security

  • Scrolling stays native: wheel, touch, keyboard and in-page search work as usual.