reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
Overview205Core74Shells99Blocks32
ScrollArea
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • About
  • Contact
  • Terms of Service
  • Privacy Policy

reopt Inc.Business registration no. 217-88-02453contact@reopt.ai

© 2026 reopt Inc. All rights reserved.

ScrollArea

Component

Provide custom scrollbars for vertical, horizontal, or bidirectional scrolling.

layout
Related docs
bun add @reopt-ai/opt-ui
Install and import
bash
bun add @reopt-ai/opt-ui
tsx
import { ScrollArea } from "@reopt-ai/opt-ui";

Live preview

Change the width and theme, then interact with the components.

100%

기본 사용

수직 스크롤

항목 1

항목 2

항목 3

항목 4

항목 5

항목 6

항목 7

항목 8

항목 9

항목 10

항목 11

항목 12

항목 13

항목 14

항목 15

항목 16

항목 17

항목 18

항목 19

항목 20

수평 스크롤

1
2
3
4
5
6
7
8
9
10

ScrollArea

PropTypeDefaultDescription
childrenRequiredReactNode—스크롤할 콘텐츠
orientation"vertical" | "horizontal" | "both""vertical"스크롤 방향
classNamestring—커스텀 CSS 클래스

컴포넌트 의존 관계

깊이
▲ USED BY (4)kanban-boardnotification-centerchat-sidebarchat-message-listScrollArea
View test results

테스트 커버리지

2026년 7월 9일3/3 통과
3성공
0실패
3전체
  • children을 렌더링한다
  • 수직 orientation이 기본이다
  • 수평 orientation을 지원한다

Related components

opt-ui

Card

Core

Group content in a card with Header, Title, Description, Content, and Footer components.

opt-ui

PageHeader

Core

Arrange a page title, status, tabs, actions, and query controls to fit the available width.

opt-ui

Container

Core

Center page content within a configurable maximum width.

opt-ui

Section

Core

Apply semantic section spacing and automatically associate a heading through aria-labelledby.

opt-ui

Resizable

Core

Create draggable split-panel layouts with react-resizable-panels.

opt-ui

FieldToken

Core

Display field types with consistent glyphs and optional labels for strings, numbers, dates, IP addresses, and geographic data.

PreviousPageHeaderNextContainer