ScrollView
A custom scrollable container with styled scrollbars that automatically hides when not in use.
Install Dependencies
npx quickcode-ui add ScrollViewExamples
Default (Vertical)
Team Members
Alice Johnson
Bob Smith
Charlie Brown
Diana Prince
Edward Norton
Fiona Apple
George Martin
Hannah Montana
Isaac Newton
Julia Roberts
Kevin Hart
Laura Palmer
Michael Jordan
Nancy Drew
Oscar Wilde
Patricia Smith
Quincy Jones
Rachel Green
Samuel Jackson
Tina Turner
Horizontal
Mountain Landscape
by Sarah Miller
Ocean Sunset
by David Chen
Forest Path
by Emma Wilson
Desert Dunes
by Michael Brown
City Lights
by Lisa Anderson
Props
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | 'vertical' | 'horizontal' | 'vertical' | Scroll direction of the container |
showScrollbar | boolean | true | Whether to display the custom scrollbar |
scrollbarSize | 'sm' | 'md' | 'lg' | 'md' | Size of the scrollbar thumb |
className | string | undefined | Additional CSS classes for the container |
children | React.ReactNode | — | Content to be scrolled |
Last updated on