BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/neobrutalism/collapsible

collapsible

neobrutalism/collapsible
FreeComponent

neobrutalism publishes no description for this item.

Live preview

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

Install it

npx shadcn@latest add https://neobrutalism.com/r/collapsible.json

Source

collapsible.tsxneobrutalism.com/r/collapsible.json
1"use client"
2
3import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible"
4
5import { cn } from "@/lib/utils"
6
7function Collapsible({ ...props }: CollapsiblePrimitive.Root.Props) {
8 return <CollapsiblePrimitive.Root data-slot="collapsible" {...props} />
9}
10
11function CollapsibleTrigger({ ...props }: CollapsiblePrimitive.Trigger.Props) {
12 return (
13 <CollapsiblePrimitive.Trigger data-slot="collapsible-trigger" {...props} />
14 )
15}
16
17function CollapsibleContent({
18 className,
19 ...props
20}: CollapsiblePrimitive.Panel.Props) {
21 return (
22 <CollapsiblePrimitive.Panel
23 data-slot="collapsible-content"
24 // Base UI publishes the measured panel height as
25 // `--collapsible-panel-height` and flags entering/leaving frames with
26 // `data-starting-style` / `data-ending-style` — transitioning height
27 // between that var and 0 gives the same slide as the Radix keyframes.
28 className={cn(
29 "h-(--collapsible-panel-height) overflow-hidden transition-[height] duration-300 ease-[cubic-bezier(0.32,0.72,0,1)] data-[ending-style]:h-0 data-[starting-style]:h-0",
30 className
31 )}
32 {...props}
33 />
34 )
35}
36
37export { Collapsible, CollapsibleTrigger, CollapsibleContent }

What it pulls in

npm packages

  • @base-ui/react

Files it writes

  • collapsible.tsx

Facts

Registry
neobrutalism
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-10
Last confirmed
today

Go to the source

Docs on neobrutalism neobrutalism.com neobrutalism/neobrutalism on GitHub Raw registry item This item as JSON

More from neobrutalism

All 54 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionneobrutalismComponentsFree2 deps
alertalertneobrutalismComponentsFree2 deps
alert-dialogalert-dialogneobrutalismComponentsFree1 dep
aspect-ratioaspect-rationeobrutalismComponentsFree1 dep
avataravatarneobrutalismComponentsFree1 dep
badgebadgeneobrutalismComponentsFree2 deps
breadcrumbbreadcrumbneobrutalismComponentsFree2 deps
buttonbuttonneobrutalismComponentsFree2 deps

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

ToolDrift

What the AI coding tools changed last night

tooldrift.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 ToolDrift

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 ToolDrift

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 ToolDrift

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