BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Tailark Base UI/accordion

Accordion

tailark-base-ui/accordion
FreeComponent

Tailark Base UI Accordion component

See it running

Open the demo on Tailark Base UI

tailark.com/blocks/accordion
Open
This registry sends X-Frame-Options, so its page cannot be embedded here. The link is the same page the frame would have shown.

Install it

npx shadcn@latest add https://tailark.com/r/accordion.json

Source

ui/accordion.tsxtailark.com/r/accordion.json
1import { Accordion as AccordionPrimitive } from "@base-ui/react/accordion"
2import { ChevronDownIcon, ChevronUpIcon } from "lucide-react"
3
4import { cn } from "@/lib/utils"
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("group/accordion-item", 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 border border-transparent py-4 text-left text-sm font-medium transition-opacity outline-none group-not-last/accordion-item:not-data-panel-open:border-b-border 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 <ChevronDownIcon
43 data-slot="accordion-trigger-icon"
44 className="pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden"
45 />
46 <ChevronUpIcon
47 data-slot="accordion-trigger-icon"
48 className="pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline"
49 />
50 </AccordionPrimitive.Trigger>
51 </AccordionPrimitive.Header>
52 )
53}
54
55function AccordionContent({
56 className,
57 children,
58 ...props
59}: AccordionPrimitive.Panel.Props) {
60 return (
61 <AccordionPrimitive.Panel
62 data-slot="accordion-content"
63 className="overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up"
64 {...props}
65 >
66 <div
67 className={cn(
68 "h-(--accordion-panel-height) pt-0 pb-2.5 data-ending-style:h-0 data-starting-style:h-0 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",
69 className
70// … truncated

What it pulls in

npm packages

  • @base-ui/react

Other registry items

  • @tailark/core-utils

Files it writes

  • ui/accordion.tsx

Facts

Registry
Tailark Base UI
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

Docs on Tailark Base UI tailark.com Raw registry item This item as JSON

More from Tailark Base UI

All 468 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Actionnable IllustrationactionnableTailark Base UIComponentsPaidno deps
Comment Illustrationadd-commentTailark Base UIComponentsPaidno deps
Agent Illustrationagent-feedbackTailark Base UIComponentsPaidno deps
Agent Illustrationagent-task-planningTailark Base UIComponentsPaidno deps
Agent Illustrationagent-tasksTailark Base UIComponentsPaidno deps
Agent Illustrationagent-workflowTailark Base UIComponentsPaidno deps
Ai Illustrationai-1Tailark Base UIComponentsPaidno deps
Ai Illustrationai-2Tailark Base UIComponentsPaidno 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