byronwade/ui
Application UI

Data display · Application UI

Scroll Area

Custom-styled scrollable viewport with optional scrollbars built on Base UI.

@byronwade/foundation@byronwade/utils@base-ui/react

Feature showcase

Installation

Features

  • 5 examples

    Default, Card List, Compact, Prose, With Header.

API

Props

PropTypeDefaultDescription
childrenReact.ReactNode-Content rendered inside the scroll viewport.
classNamestring-Classes merged onto the scroll root.
orientation"vertical" | "horizontal""vertical"Axis for the exported ScrollBar part.

Dependencies

PackageKindDescription
@byronwade/foundationregistryInstalled through the byronwade/ui registry.
@byronwade/utilsregistryInstalled through the byronwade/ui registry.
@base-ui/reactnpmInstalled from npm.

Source and related

FilePath
Componentregistry/ui/scroll-area.tsx
Default examplecontent/examples/scroll-area/default.tsx
Card List examplecontent/examples/scroll-area/card-list.tsx
Compact examplecontent/examples/scroll-area/compact.tsx
Prose examplecontent/examples/scroll-area/prose.tsx
With Header examplecontent/examples/scroll-area/with-header.tsx