BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ondo-ui/accordion
This component no longer exists. It was in ondo-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 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

ondo-ui/accordion
RemovedComponent

A vertically stacked set of interactive headings that each reveal a section of content.

Install it

npx shadcn@latest add https://ui.ondo.dou.so/r/accordion.json

Source

components/ui/accordion.tsxui.ondo.dou.so/r/accordion.json
1import { Accordion as AccordionPrimitive } from "@base-ui/react/accordion"
2
3import { cn } from "@/lib/utils"
4import { IconChevronDown, IconChevronUp } from "@tabler/icons-react"
5
6function Accordion({ className, ...props }: AccordionPrimitive.Root.Props) {
7 return (
8 <AccordionPrimitive.Root
9 data-slot="accordion"
10 className={cn("flex w-full flex-col", className)}
11 {...props}
12 />
13 )
14}
15
16function AccordionItem({ className, ...props }: AccordionPrimitive.Item.Props) {
17 return (
18 <AccordionPrimitive.Item
19 data-slot="accordion-item"
20 className={cn("not-last:border-b", className)}
21 {...props}
22 />
23 )
24}
25
26function AccordionTrigger({
27 className,
28 children,
29 ...props
30}: AccordionPrimitive.Trigger.Props) {
31 return (
32 <AccordionPrimitive.Header className="flex">
33 <AccordionPrimitive.Trigger
34 data-slot="accordion-trigger"
35 className={cn(
36 "group/accordion-trigger relative flex flex-1 items-start justify-between rounded-md border border-transparent py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring aria-disabled:pointer-events-none aria-disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground",
37 className
38 )}
39 {...props}
40 >
41 {children}
42 <IconChevronDown data-slot="accordion-trigger-icon" className="pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden" />
43 <IconChevronUp data-slot="accordion-trigger-icon" className="pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline" />
44 </AccordionPrimitive.Trigger>
45 </AccordionPrimitive.Header>
46 )
47}
48
49function AccordionContent({
50 className,
51 children,
52 ...props
53}: AccordionPrimitive.Panel.Props) {
54 return (
55 <AccordionPrimitive.Panel
56 data-slot="accordion-content"
57 className="overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up"
58 {...props}
59 >
60 <div
61 className={cn(
62 "h-(--accordion-panel-height) pt-0 pb-4 data-ending-style:h-0 data-starting-style:h-0 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",
63 className
64 )}
65 >
66 {children}
67 </div>
68// … truncated

What it pulls in

npm packages

  • @base-ui/react
  • @tabler/icons-react

Other registry items

  • @ondo-ui/utils

Files it writes

  • components/ui/accordion.tsx

Facts

Registry
ondo-ui
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-04
Last confirmed
10 days ago

Go to the source

ui.ondo.dou.so douinc/ondo-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