Components
Scroll Area
Bordered, max-height scroll region for long lists and panels—aligned with shadcn scroll-area ergonomics.
Installation
Install the registry item directly, then add any package dependencies if you are setting the component up manually.
Install the component
Run the registry command below to add scroll-area to your project.
watermelon add scroll-areaImport the component
Import Scroll Area from your local UI registry output.
Import
import { ScrollArea } from "@/components/ui/scroll-area";Import
Import
import { ScrollArea } from "@/components/ui/scroll-area";Usage
Set maxHeight to cap the viewport; content scrolls inside the chrome.
Basic
API Reference
ScrollArea wraps a vertical ScrollView on native and a scrollable div
stack on the platform preview. Pass standard scroll props through on native.