About
Container with custom styled scrollbar. From GooseUI (goosen-x/gooseui), MIT.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Scroll Container to your project and fits it to your theme.
Code
How Scroll Container is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ScrollContainer } from "@/components/ui/gooseui-scroll-container"
const rows = ["Anna", "Max", "Olga", "Ivan", "Nina", "Oleg", "Vera", "Egor"]
export default function CardPreview() {
return (
<ScrollContainer
height="7rem"
variant="primary"
className="w-48 rounded-lg border bg-background"
>
<ul className="divide-y text-sm">
{rows.map((name) => (
<li key={name} className="px-3 py-1.5">
{name}
</li>
))}
</ul>
</ScrollContainer>
)
}








