ScrollArea
Custom scrollable area with thin styled scrollbar thumb.
Preview
Usage
import { ScrollArea } from '@ramtt/ui'
<ScrollArea className="h-[300px]">
{longContent}
</ScrollArea>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | 'vertical' | 'horizontal' | 'both' | 'vertical' | Scroll direction |
| children* | ReactNode | — | Scrollable content |