Back to Components
Components
Scroll Area
Custom scrollbar styling with overflow detection and gradient fade indicators.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/scroll-area.tsx
Installation
Using shadcn CLI
npx shadcn add scroll-area --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge