ScrollArea

A scroll container with thin scrollbars that appear on hover.

View source
import { ScrollArea } from "@logicplanes/kaeso-ui";

Props

  • aria-label
    string

    Accessible name when the region is focusable.

  • children
    ReactNode

    The content that scrolls.

  • orientation
    "both" | "horizontal" | "vertical" = vertical

    The directions it scrolls in.

  • viewportClassName
    string

    Classes for the scrolling element, for layout only.