ScrollArea
A scroll container with thin scrollbars that appear on hover.
<ScrollArea className="h-160 w-320 rounded-well bg-fill-1" aria-label="Models">
<ul className="flex flex-col p-12">
{[...models, ...models, ...models].map((m, i) => (
<li key={i} className="flex h-32 items-center mono text-small text-fg">
{m.model}
</li>
))}
</ul>
</ScrollArea>import { ScrollArea } from "@logicplanes/kaeso-ui";Props
aria-labelstringAccessible name when the region is focusable.
childrenReactNodeThe content that scrolls.
orientation"both" | "horizontal" | "vertical" = verticalThe directions it scrolls in.
viewportClassNamestringClasses for the scrolling element, for layout only.