Scroll Area

PreviousNext

Augments native scroll functionality for custom, cross-browser styling.

Docs
glass-uicomponent

Preview

Loading preview…
lib/utils.ts
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs))
}

Installation

npx shadcn@latest add @glass-ui/scroll-area

Usage

import { ScrollArea } from "@/components/scroll-area"
<ScrollArea />