CoreScroll area
ScrollArea API
Every prop of the 2 parts ScrollArea exports, generated from the package manifest.
import { ScrollArea, ScrollBar } from '@oceanic-hub/brand-system'- Layer
- core — shadcn-derived primitives.
- Exports
- ScrollArea · ScrollBar
- Contract
- packages/brand-system/src/components/scroll-area.contract.test-d.ts
- Demos
- 2 on the ScrollArea page — rendered live, hydrated
- Source
- packages/brand-system/src/components/scroll-area.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what ScrollArea is for, how it composes and what it looks like, see ScrollArea.
ScrollArea
Inherited from @radix-ui/react-scroll-area — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
ScrollBar
Inherited from @radix-ui/react-scroll-area — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type