Skip to content
ghostui

Scroll area

A native scroll container with custom scrollbars.

Preview

Installation

Install the local ghost-kit source bundle while the registry runs at localhost:3110. It contains this component and its source dependencies. Prepare the local registry first so token dependencies also resolve locally.

Install

Basic usage

Use the exported component in the composition shown above. Keep labels, data, and callbacks in the consuming application.

Structure

Examples

Both scrollbars

Use a corner when content overflows in both directions.

Gradient scroll fade

Use a quiet edge fade when a reading surface needs a softer boundary.

Combining with Tabs

Keep each tab panel independently scrollable.

API reference

This component wraps Base UI scroll-area for its behavior.