Scroll Area
crenspire-glass-ui/scroll-areaFreeComponent
Augments native scroll functionality for custom, cross-browser styling.
Live preview
live · rendered by the registry
Rendered by crenspire/glass-ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://glass-ui.crenspire.com/r/scroll-area.jsonSource
1"use client"23import * as React from "react"4import { ScrollArea as BaseScrollArea, ScrollBar } from "@/components/ui/scroll-area"5import { cn } from "@/lib/utils"67export interface ScrollAreaProps extends React.ComponentProps<typeof BaseScrollArea> {8 glow?: boolean9}1011/**12 * Glass UI Scroll Area - Enhanced scroll area with glassy effects13 */14export const ScrollArea = React.forwardRef<15 React.ElementRef<typeof BaseScrollArea>,16 ScrollAreaProps17>(({ className, variant = "glass", glow = false, ...props }, ref) => {18 return (19 <BaseScrollArea20 ref={ref}21 variant={variant}22 className={cn(23 glow && "shadow-md shadow-purple-500/20",24 className25 )}26 {...props}27 />28 )29})30ScrollArea.displayName = "ScrollArea"3132export {33 ScrollBar,34}35
What it pulls in
npm packages
Other registry items
Files it writes
More from crenspire/glass-ui
All 49 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | crenspire/glass-ui | Components | Free | 2 deps · 5 files | |
| Alertalert | crenspire/glass-ui | Components | Free | no deps · 5 files | |
| Alert Dialogalert-dialog | crenspire/glass-ui | Components | Free | 1 dep · 5 files | |
| Avataravatar | crenspire/glass-ui | Components | Free | 1 dep · 5 files | |
| Badgebadge | crenspire/glass-ui | Components | Free | no deps · 5 files | |
| Breadcrumbbreadcrumb | crenspire/glass-ui | Components | Free | 2 deps · 5 files | |
| Buttonbutton | crenspire/glass-ui | Components | Free | 1 dep · 5 files | |
| Button Groupbutton-group | crenspire/glass-ui | Components | Free | no deps · 5 files |
