BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/8bitcn/collapsible

8-bit Collapsible

8bitcn/collapsible
FreeComponent

A simple 8-bit collapsible component

Install it

npx shadcn@latest add https://www.8bitcn.com/r/collapsible.json

Source

components/ui/8bit/collapsible.tsxwww.8bitcn.com/r/collapsible.json
1"use client";
2
3import type * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
4import {
5 Collapsible as ShadcnCollapsible,
6 CollapsibleContent as ShadcnCollapsibleContent,
7 CollapsibleTrigger as ShadcnCollapsibleTrigger,
8} from "@radix-ui/react-collapsible";
9
10import { cn } from "@/lib/utils";
11
12import "@/components/ui/8bit/styles/retro.css";
13
14export interface BitCollapsibleProps
15 extends React.ComponentProps<typeof CollapsiblePrimitive.Root> {
16 asChild?: boolean;
17}
18
19function Collapsible({ children, ...props }: BitCollapsibleProps) {
20 const { className } = props;
21
22 return (
23 <div className={cn("relative", className)}>
24 <ShadcnCollapsible {...props} className={cn(className, "retro")}>
25 {children}
26 </ShadcnCollapsible>
27 </div>
28 );
29}
30
31function CollapsibleTrigger({
32 children,
33 ...props
34}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>) {
35 const { className } = props;
36 return (
37 <ShadcnCollapsibleTrigger
38 data-slot="collapsible-trigger"
39 className={cn(className, "retro")}
40 {...props}
41 >
42 {children}
43 </ShadcnCollapsibleTrigger>
44 );
45}
46
47function CollapsibleContent({
48 children,
49 ...props
50}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>) {
51 const { className } = props;
52 return (
53 <ShadcnCollapsibleContent
54 data-slot="collapsible-content"
55 className={cn(className, "retro")}
56 {...props}
57 >
58 {children}
59 </ShadcnCollapsibleContent>
60 );
61}
62
63export { Collapsible, CollapsibleTrigger, CollapsibleContent };

What it pulls in

Other registry items

  • collapsible

Files it writes

  • components/ui/8bit/collapsible.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-13
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