BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/glasswave/scroll-area

Scroll Area

glasswave/scroll-area
FreeComponent

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

Live preview

live · rendered by the registry
Rendered by glasswave on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://glasswave.denizisik.com/r/scroll-area.json

Source

registry/glasswave/ui/scroll-area.tsxglasswave.denizisik.com/r/scroll-area.json
1"use client";
2
3import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
4import * as React from "react";
5
6import { cn } from "@/lib/utils";
7
8const ScrollArea = React.forwardRef<
9 React.ElementRef<typeof ScrollAreaPrimitive.Root>,
10 React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root>
11>(({ className, children, ...props }, ref) => (
12 <ScrollAreaPrimitive.Root
13 ref={ref}
14 className={cn("relative overflow-hidden", className)}
15 {...props}
16 >
17 <ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]">
18 {children}
19 </ScrollAreaPrimitive.Viewport>
20 <ScrollBar />
21 <ScrollAreaPrimitive.Corner />
22 </ScrollAreaPrimitive.Root>
23));
24ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
25
26const ScrollBar = React.forwardRef<
27 React.ElementRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>,
28 React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>
29>(({ className, orientation = "vertical", ...props }, ref) => (
30 <ScrollAreaPrimitive.ScrollAreaScrollbar
31 ref={ref}
32 orientation={orientation}
33 className={cn(
34 "flex touch-none select-none transition-colors",
35 orientation === "vertical" &&
36 "h-full w-2.5 border-l border-l-transparent p-[1px]",
37 orientation === "horizontal" &&
38 "h-2.5 flex-col border-t border-t-transparent p-[1px]",
39 className,
40 )}
41 {...props}
42 >
43 <ScrollAreaPrimitive.ScrollAreaThumb className="relative flex-1 rounded-full bg-black/20 dark:bg-white/20" />
44 </ScrollAreaPrimitive.ScrollAreaScrollbar>
45));
46ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
47
48export { ScrollArea, ScrollBar };

What it pulls in

npm packages

  • @radix-ui/react-scroll-area

Files it writes

  • registry/glasswave/ui/scroll-area.tsx

Facts

Registry
glasswave
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-04
Last confirmed
today

Go to the source

Docs on glasswave glasswave.denizisik.com deniiiiz-i/glasswave on GitHub Raw registry item This item as JSON

More from glasswave

All 60 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionglasswaveComponentsFree2 deps
AlertalertglasswaveComponentsFree1 dep
Alert Dialogalert-dialogglasswaveComponentsFree1 dep
Aspect Ratioaspect-ratioglasswaveComponentsFree1 dep
AvataravatarglasswaveComponentsFree1 dep
BadgebadgeglasswaveComponentsFree1 dep
BreadcrumbbreadcrumbglasswaveComponentsFree2 deps
ButtonbuttonglasswaveComponentsFree2 deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex