Controls
Scroll area
Navigate content that exceeds the viewport with scrollbars. Provides smooth scrolling for better content accessibility.
Basic
A scrollable container for content that overflows its bounds.
Loading...
Installation
Install the component via the CLI in one command.
npm
pnpm
yarn
bun
npx shadcn@latest add @intentui/scroll-area
Manual installation
Use this approach if you prefer to install and wire up the component yourself instead of using the CLI.
Orientation
By default, the orientation is set to both, but you can change it to horizontal or vertical.
Vertical
Loading...
Horizontal
Loading...
Fade
Add fade effects to the edges of the scroll area for visual cues.
Loading...
Intent UI Design
Build modern web apps faster with 1000+ resources across components, blocks, patterns, templates, and starter kits.