ComponentsBlocksDocsExamples

Accordion
Field
Accordion Menu
Alert Dialog
Avatar
Badge
Breadcrumb
Button
Carousel
Checkbox
Collapsible
Command
Combobox
Context Menu
Date Picker
Dialog
Dropdown Menu
Form
Filters
New
Hover Card
Input
Update
Label
Menubar
Navigation Menu
Popover
Progress
Radio Group
Scroll Area
Select
Separator
Sheet
Slider
Sortable
Switch
Table
Tabs
Tooltip
Toggle
Toggle Group
Tree

Components

Scroll Area

UI Library:

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

Open in
Loading

Installation

pnpm dlx shadcn@latest add @toui/scroll-area

API Reference

This component is built using Radix UI Scroll Area primitives. For detailed information, please visit the full API reference.

ScrollArea

This component is based on the ScrollArea.Root primitive and includes the following custom props:

PropTypeDefault
viewportRef React.Ref<HTMLDivElement>
viewportClassName string
className string

Credits

  • Built with Radix UI Scroll Area.
PreviouseRadio GroupNextSelect

On This Page

  • Installation
  • API Reference
    • ScrollArea
  • Credits

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking Accept, you agree to our use of cookies.
Learn more.

Token UI

Components

  • Overview
  • Pricing
  • Marketplace
  • Features
  • Integrations
  • Pricing

Blocks

  • Charts
  • Team
  • Blog
  • Careers
  • Contact
  • Privacy

Examples

  • Help
  • Sales
  • Advertise

Docs

  • Twitter
  • Instagram
  • LinkedIn

© 2025 TOUI.dev. All rights reserved.

  • Terms and Conditions
  • Privacy Policy