Scroll Area

The ScrollArea component is used to show scrollable box.

1. Import

KUMUI exports 1 ScrollArea-related components:

import { ScrollArea } from "@rohitgadekar/kimui";

2. Usage


Section 1

Scrollable content goes here. This is section 1.

Section 2

Scrollable content goes here. This is section 2.

Section 3

Scrollable content goes here. This is section 3.

Section 4

Scrollable content goes here. This is section 4.

Section 5

Scrollable content goes here. This is section 5.

Section 6

Scrollable content goes here. This is section 6.

Section 7

Scrollable content goes here. This is section 7.

Section 8

Scrollable content goes here. This is section 8.

Section 9

Scrollable content goes here. This is section 9.

Section 10

Scrollable content goes here. This is section 10.

3. API

3.1 ScrollArea

AttributeTypeDescriptionDefault
className

string

Custom CSS classes for the ScrollArea container.-
scrollbarWidth

number

Defines the width of the scrollbar. Default is 8px.8
scrollbarColor

string

Specifies the color of the scrollbar. Default is #a0aec0.#a0aec0