Scroll Area
- from @keyline-ui
A native scroll container with Keyline scrollbars (Base UI Scroll Area): a bar is a cell on the region's edge, owning its seam; content is padded only while an axis overflows; corner cell for both bars; focusable viewport with an inset ring. The thumb reveals while its axis scrolls and when the pointer is on the bar, widens and darkens there, inks while held, then fades (overlay platforms; always shown where native bars take space, in forced colours and for more contrast).
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @keyline-ui/scroll-areaComponent source
No live preview has been built for this component yet.
Registry dependencies4
- @keyline-ui/keyline
- utils
- @keyline-ui/keyline-render
- @keyline-ui/keyline-scope