BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/cubby-ui/accordion
This component no longer exists. It was in cubby-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-10 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

Accordion

cubby-ui/accordion
RemovedComponent

A accordion component.

Live preview

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

Install it

npx shadcn@latest add https://cubby-ui.dev/r/accordion.json

Source

registry/default/accordion/accordion.tsxcubby-ui.dev/r/accordion.json · first 6 KB
1import * as React from "react";
2import { Accordion as BaseAccordion } from "@base-ui/react/accordion";
3import { cn } from "@/lib/utils";
4
5import { HugeiconsIcon } from "@hugeicons/react";
6import { ArrowDown01Icon } from "@hugeicons/core-free-icons";
7type AccordionVariant =
8 | "default"
9 | "split"
10 | "outline"
11 | "nested"
12 | "isolated-bordered"
13 | "isolated-filled"
14 | "isolated-filled-bordered";
15
16function Accordion({
17 className,
18 multiple = false,
19 variant = "default",
20 ...props
21}: BaseAccordion.Root.Props & { variant?: AccordionVariant }) {
22 return (
23 <BaseAccordion.Root
24 data-slot="accordion"
25 data-variant={variant}
26 multiple={multiple}
27 className={cn(
28 "group flex w-full flex-col",
29 variant === "split" && "space-y-2",
30 variant === "outline" && "bg-card overflow-hidden rounded-lg border",
31 variant === "nested" && "bg-muted rounded-lg border p-1",
32 className,
33 )}
34 {...props}
35 />
36 );
37}
38
39function AccordionItem({ className, ...props }: BaseAccordion.Item.Props) {
40 return (
41 <BaseAccordion.Item
42 data-slot="accordion-item"
43 className={cn(
44 "ease-out-expo transition-[margin,border-radius,border] duration-250",
45 // Default variant styles
46 "group-data-[variant=default]:border-b group-data-[variant=default]:last:border-b-0",
47 // Split variant styles (individual cards)
48 "group-data-[variant=split]:bg-card group-data-[variant=split]:border-border group-data-[variant=split]:overflow-hidden group-data-[variant=split]:rounded-lg group-data-[variant=split]:border",
49 // Outline variant styles (items within single card)
50 "group-data-[variant=outline]:border-border group-data-[variant=outline]:border-b group-data-[variant=outline]:last:border-b-0",
51 // Nested variant styles - items within the single outer card
52 "group-data-[variant=nested]:mt-0.5 group-data-[variant=nested]:first:mt-0",
53 // Isolated bordered variant styles - dynamically separates open items from closed ones
54 // Base styles: all items have borders and background to look like cards
55 "group-data-[variant=isolated-bordered]:bg-card group-data-[variant=isolated-bordered]:border-border group-data-[variant=isolated-bordered]:overflow-hidden group-data-[variant=isolated-bordered]:border",
56 // Closed items: group together by overlapping borders with negative margin
57// … truncated

What it pulls in

npm packages

  • @hugeicons/react
  • @hugeicons/core-free-icons

Files it writes

  • registry/default/accordion/accordion.tsx

Facts

Registry
cubby-ui
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-01
Last confirmed
9 days ago

Go to the source

Docs on cubby-ui cubby-ui.dev joncoronel/cubby-ui on GitHub Raw registry item This item as JSON

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