Scroll Area

RatingSelect

A scrolling container with slim, themed scrollbars.

Tags
v1.30.0
v1.29.0
v1.28.0
v1.27.0
v1.26.0
v1.25.0
v1.24.0
v1.23.0
v1.22.0
v1.21.0
v1.20.0
v1.19.0
v1.18.0
v1.17.0
v1.16.0
v1.15.0
v1.14.0
v1.13.0
v1.12.0
v1.11.0
v1.10.0
v1.9.0
v1.8.0
v1.7.0
v1.6.0
v1.5.0
v1.4.0
v1.3.0
v1.2.0
v1.1.0

Installation

pnpm add krz-ui

Usage

import { ScrollArea } from "krz-ui";
<ScrollArea maxHeight={240} aria-label="Release notes">
  ...long content
</ScrollArea>

API Reference

PropTypeDescription
maxHeightCSS max-heightHeight before content scrolls.
orientation"vertical" | "horizontal" | "both"Scroll direction. Defaults to vertical.
className / style / ref—All go to the outer element. See Customization.