Layout
Scroll Area
A container with a maximum height that scrolls its content with a thin, theme-coloured scrollbar.
Group: Layout. Exports: ScrollArea. shadcn/ui equivalent: Scroll Area (matches).
Usage
import { ScrollArea } from "./halaska-kit";
ScrollArea props
childrenReactNode: Content.maxHeightnumber(default 200):
Accessibility
- Uses native scrolling, so wheel, touch and keyboard scrolling all work as the browser provides them.
- The container is not focusable on its own. Keyboard users scroll it by moving focus to something inside.
- The thin scrollbar styling applies in browsers that support scrollbar-width and scrollbar-color.
Halaska UI · Components · Patterns · Screens · Install