{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "scroll-area-glass",
"type": "registry:ui",
"title": "Scroll Area Glass",
"description": "Custom scrollable container with glass-themed scrollbars.\n * Built on @radix-ui/react-scroll-area for cross-browser consistency.\n *\n * ## Features",
"dependencies": [
"@radix-ui/react-scroll-area",
"react",
"shadcn-glass-ui"
],
"registryDependencies": [
"cn"
],
"files": [
{
"path": "components/glass/ui/scroll-area-glass.tsx",
"type": "registry:component",
"content": "/**\n * ScrollAreaGlass Component\n *\n * Custom scrollable container with glass-themed scrollbars.\n * Built on @radix-ui/react-scroll-area for cross-browser consistency.\n *\n * ## Features\n * - Custom glass-styled scrollbars with theme-aware colors\n * - Horizontal, vertical, or bidirectional scrolling support\n * - Auto-hide scrollbars with smooth fade transitions\n * - Cross-browser consistent scrollbar behavior via Radix UI\n * - Theme-aware styling with CSS variables\n * - Focus-visible states for keyboard navigation\n * - Compound component API for advanced use cases\n * - WCAG 2.1 AA compliant keyboard and screen reader support\n *\n * ## Sub-Components\n * - `ScrollAreaGlass` - Main scroll container (Root + Viewport)\n * - `ScrollBarGlass` - Individual scrollbar component\n * - `ScrollAreaGlassViewport` - Inner viewport for manual composition\n *\n * ## CSS Variables\n * Customize scrollbar appearance via theme CSS variables:\n * - `--scroll-thumb-bg` - Scrollbar thumb background color\n * - `--scroll-thumb-hover-bg` - Scrollbar thumb hover background color\n * - `--scroll-thumb-border` - Scrollbar thumb border color\n * - `--scroll-track-bg` - Scrollbar track/corner background color\n *\n * @example Vertical scrolling (default)\n * ```tsx\n * import { ScrollAreaGlass } from 'shadcn-glass-ui'\n *\n * function VerticalList() {\n * return (\n *