ui

Scroll Area

A native scroll container with custom scrollbars. Built with Base UI and Tailwind CSS. Copy-paste ready.

API Reference

Installation

Usage

Examples

Scroll Fade

Use scrollFade to mask the viewport edges so content subtly fades in and out as you scroll, hinting that more content is available without adding extra UI chrome.

Horizontal Scroll

Renders a horizontally scrollable area with a custom scrollbar for browsing wide content like tag lists or card rows.

Scrollbar Gutter

Enable scrollbarGutter to reserve space for the scrollbar when overflow appears, preventing layout shifts as the bar shows or hides.

Chat Feed

A scrollable message thread with avatars, sender names, and timestamps — a common pattern for team chat or comment history UIs.

Notification List

A vertically scrollable list of notifications with icon, message, timestamp, and an unread indicator dot.

A scrollable sidebar with section labels and icon-prefixed nav items — useful for settings panels or admin layouts.

Activity Log

A scrollFade-less monospace log viewer with colored level labels (info, warn, error) and per-entry timestamps.

File Explorer

A scrollFade-enabled file tree with folder and file icons, truncated names, and hover highlight on each row.