Scroll Area

Augments native scroll functionality for custom, cross-browser styling.

Default

A scrollable area with a fixed height.

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Item 8
Item 9
Item 10
Item 11
Item 12
Item 13
Item 14
Item 15
Item 16
Item 17
Item 18
Item 19
Item 20

Usage

julia
using Suite

ScrollArea(
    class="h-[200px] w-[350px] rounded-md border p-4",
    P("Scrollable content here..."),
)

API Reference

PropTypeDefaultDescription
classString""Size and styling (h-[200px], w-[350px], etc.)
children...Any-Scrollable content
kwargs...Pair-Any HTML attribute