BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/weekendsuperhero-io/sistine/accordion

Accordion

weekendsuperhero-io-sistine/accordion
UnverifiedComponent

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

Install it

npx shadcn@latest add https://raw.githubusercontent.com/Weekendsuperhero-io/sistine/main/accordion.json

Source

components/ui/accordion.tsxraw.githubusercontent.com/Weekendsuperhero-io/sistine/main/accordion.json
1"use client";
2
3import { CaretDownIcon } from "@phosphor-icons/react";
4import { Accordion as AccordionPrimitive } from "radix-ui";
5import * as React from "react";
6
7import { cn } from "@/lib/utils";
8
9const Accordion = AccordionPrimitive.Root;
10
11const AccordionItem = React.forwardRef<
12 React.ElementRef<typeof AccordionPrimitive.Item>,
13 React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>
14>(({ className, ...props }, ref) => (
15 <AccordionPrimitive.Item
16 ref={ref}
17 data-slot="accordion-item"
18 className={cn("border-b border-[var(--glass-border)] last:border-b-0", className)}
19 {...props}
20 />
21));
22AccordionItem.displayName = "AccordionItem";
23
24const AccordionTrigger = React.forwardRef<
25 React.ElementRef<typeof AccordionPrimitive.Trigger>,
26 React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger> & {
27 variant?: "default" | "glass";
28 /** Glow rides the OPEN state (folded from the glass wrapper). */
29 glow?: boolean;
30 }
31>(({ className, variant = "glass", glow, children, ...props }, ref) => {
32 // No glass surface here — the variants are hover tints only, so no resolveMaterial.
33 const variants = {
34 default: "hover:bg-accent",
35 glass: "hover:bg-muted/50",
36 };
37
38 return (
39 <AccordionPrimitive.Header className="flex">
40 <AccordionPrimitive.Trigger
41 ref={ref}
42 data-slot="accordion-trigger"
43 className={cn(
44 "flex flex-1 items-start justify-between gap-4 rounded-md px-4 py-4 text-left font-medium outline-none transition-[color,background-color,box-shadow,border-color] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
45 variants[variant],
46 glow && "data-[state=open]:glass-glow",
47 className,
48 )}
49 {...props}
50 >
51 {children}
52 <CaretDownIcon className="pointer-events-none h-4 w-4 shrink-0 translate-y-0.5 text-muted-foreground transition-transform duration-200" />
53 </AccordionPrimitive.Trigger>
54 </AccordionPrimitive.Header>
55 );
56});
57AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
58
59const AccordionContent = React.forwardRef<
60 React.ElementRef<typeof AccordionPrimitive.Content>,
61 React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>
62>(({ className, children, ...props }, ref) => (
63 <AccordionPrimitive.Content
64 ref={ref}
65 data-slot="accordion-content"
66// … truncated

What it pulls in

npm packages

  • @phosphor-icons/react
  • class-variance-authority
  • clsx
  • radix-ui
  • tailwind-merge

Other registry items

  • @sistine/theme

Files it writes

  • lib/utils.ts
  • lib/material.ts
  • lib/hover-effects.ts
  • components/ui/accordion.tsx

Facts

Registry
weekendsuperhero-io/sistine
Type
registry:component
Access
Unverified
Files written
4
Licence
MIT
In the index
at or before 2026-08-02
Last confirmed
2 days ago

Go to the source

weekendsuperhero.io Weekendsuperhero-io/sistine on GitHub Raw registry item This item as JSON

More from weekendsuperhero-io/sistine

All 71 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Alertalertweekendsuperhero-io/sistineComponentsUnverified3 deps · 4 files
Alert Dialogalert-dialogweekendsuperhero-io/sistineComponentsUnverified4 deps · 4 files
Auto Foregroundauto-foregroundweekendsuperhero-io/sistineComponentsUnverifiedno deps
Avataravatarweekendsuperhero-io/sistineComponentsUnverified4 deps · 4 files
Badgebadgeweekendsuperhero-io/sistineComponentsUnverified4 deps · 4 files
Breadcrumbbreadcrumbweekendsuperhero-io/sistineComponentsUnverified5 deps · 4 files
Buttonbuttonweekendsuperhero-io/sistineComponentsUnverified4 deps · 4 files
Button Groupbutton-groupweekendsuperhero-io/sistineComponentsUnverified4 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

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