Scrollbar
Custom scrollbar for overflow regions.
Installation
bun add @xerobi/ui
import { Scrollbar } from "@xerobi/ui/scrollbar"This component is client-side. In Astro, hydrate it with a client directive.
API reference
Scrollbar
| Prop | Type | Description |
|---|---|---|
| children | string | number | bigint | boolean | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<AwaitedReactNode> | |
| fillContent | boolean | Stretch the scroll content to the full height of the container. |