BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/8bitcn/scroll-area

8-bit Scroll Area

8bitcn/scroll-area
FreeComponent

A simple 8-bit Scroll Area component

Install it

npx shadcn@latest add https://www.8bitcn.com/r/scroll-area.json

Source

components/ui/8bit/scroll-area.tsxwww.8bitcn.com/r/scroll-area.json
1import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
2
3import { cn } from "@/lib/utils";
4
5function ScrollArea({
6 className,
7 children,
8 ...props
9}: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) {
10 return (
11 <ScrollAreaPrimitive.Root
12 data-slot="scroll-area"
13 className={cn("relative", className)}
14 {...props}
15 >
16 <ScrollAreaPrimitive.Viewport
17 data-slot="scroll-area-viewport"
18 className="focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1"
19 >
20 {children}
21 </ScrollAreaPrimitive.Viewport>
22 <ScrollBar />
23 <ScrollAreaPrimitive.Corner />
24 </ScrollAreaPrimitive.Root>
25 );
26}
27
28function ScrollBar({
29 className,
30 orientation = "vertical",
31 ...props
32}: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>) {
33 return (
34 <ScrollAreaPrimitive.ScrollAreaScrollbar
35 data-slot="scroll-area-scrollbar"
36 orientation={orientation}
37 className={cn(
38 "flex touch-none p-px transition-colors select-none bg-foreground/30 dark:bg-ring/30 relative",
39 orientation === "vertical" &&
40 "h-full w-1.5 border-l border-l-transparent",
41 orientation === "horizontal" &&
42 "h-1.5 flex-col border-t border-t-transparent",
43 className
44 )}
45 {...props}
46 >
47 <ScrollAreaPrimitive.ScrollAreaThumb
48 data-slot="scroll-area-thumb"
49 className={cn(
50 "relative dark:bg-ring rounded-none flex-1 bg-foreground transition-none duration-75",
51 orientation === "vertical" && "scale-x-250 ",
52 orientation === "horizontal" && "scale-y-250 "
53 )}
54 />
55 </ScrollAreaPrimitive.ScrollAreaScrollbar>
56 );
57}
58
59export { ScrollArea, ScrollBar };

What it pulls in

npm packages

  • @radix-ui/react-scroll-area

Files it writes

  • components/ui/8bit/scroll-area.tsx
  • components/ui/8bit/styles/retro.css

Facts

Registry
8bitcn
Type
registry:component
Access
Free
Files written
2
Licence
the repository states none
In the index
at or before 2026-08-10
Last confirmed
today

Go to the source

www.8bitcn.com TheOrcDev/8bitcn-ui on GitHub Raw registry item This item as JSON

More from 8bitcn

All 121 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
8-bit Accordionaccordion8bitcnComponentsFreeno deps · 2 files
8-bit Alertalert8bitcnComponentsFreeno deps · 2 files
8-bit Alert Dialogalert-dialog8bitcnComponentsFreeno deps · 2 files
8-bit Avataravatar8bitcnComponentsFreeno deps · 2 files
8-bit Badgebadge8bitcnComponentsFreeno deps · 2 files
8-bit Breadcrumbbreadcrumb8bitcnComponentsFreeno deps · 2 files
8-bit Buttonbutton8bitcnComponentsFreeno deps · 2 files
8-bit Button Groupbutton-group8bitcnComponentsFreeno deps · 4 files

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex