BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/pixelflow-ui/accordion-retro

Accordion Retro

pixelflow-ui/accordion-retro
FreeComponent

pixelflow-ui publishes no description for this item.

Live preview

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

Install it

npx shadcn@latest add https://pixelflowui.lok1.dev/r/accordion-retro.json

Source

src/registry/accordion/retro/AccordionRetro.jsxpixelflowui.lok1.dev/r/accordion-retro.json
1"use client";
2
3import * as React from "react";
4import * as AccordionPrimitive from "@radix-ui/react-accordion";
5import { Plus, Minus } from "lucide-react";
6import { motion } from "motion/react";
7import { cn } from "@/lib/utils";
8
9const demoOptions = [
10 {
11 title: "SYSTEM_OVERVIEW",
12 description: "Core processing unit initialized.",
13 },
14 {
15 title: "TECHNICAL_SPECS",
16 description: "Architecture: 64-bit retro-grid.",
17 },
18];
19
20const AccordionRetro = AccordionPrimitive.Root;
21
22const AccordionItemRetro = React.forwardRef(({ className, ...props }, ref) => (
23 <AccordionPrimitive.Item
24 ref={ref}
25 className={cn(
26 "border-b-2 border-black last:border-b-2 first:border-t-2",
27 className
28 )}
29 {...props}
30 />
31));
32AccordionItemRetro.displayName = "AccordionItemRetro";
33
34const AccordionTriggerRetro = React.forwardRef(
35 ({ className, children, ...props }, ref) => (
36 <AccordionPrimitive.Header className="flex">
37 <AccordionPrimitive.Trigger
38 ref={ref}
39 className={cn(
40 "flex flex-1 items-center justify-between py-4 text-base font-bold font-mono uppercase transition-all hover:bg-black hover:text-white px-4 group data-[state=open]:bg-black data-[state=open]:text-white",
41 className
42 )}
43 {...props}
44 >
45 {children}
46 <div className="relative w-4 h-4 flex items-center justify-center">
47 <Plus className="h-4 w-4 shrink-0 transition-transform duration-200 group-data-[state=open]:rotate-90 group-data-[state=open]:hidden" />
48 <Minus className="h-4 w-4 shrink-0 transition-transform duration-200 hidden group-data-[state=open]:block" />
49 </div>
50 </AccordionPrimitive.Trigger>
51 </AccordionPrimitive.Header>
52 )
53);
54AccordionTriggerRetro.displayName = AccordionPrimitive.Trigger.displayName;
55
56const AccordionContentRetro = React.forwardRef(
57 ({ className, children, ...props }, ref) => {
58 const internalRef = React.useRef(null);
59 const [isOpen, setIsOpen] = React.useState(false);
60
61 React.useEffect(() => {
62 const element = internalRef.current;
63 if (!element) return;
64
65 const updateState = () => {
66 const state = element.getAttribute("data-state");
67 setIsOpen(state === "open");
68 };
69
70 updateState();
71
72 const observer = new MutationObserver((mutations) => {
73 mutations.forEach((mutation) => {
74// … truncated

What it pulls in

npm packages

  • @radix-ui/react-accordion
  • lucide-react
  • motion

Files it writes

  • src/registry/accordion/retro/AccordionRetro.jsx

Facts

Registry
pixelflow-ui
Type
registry:component
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-12
Last confirmed
3 days ago

Go to the source

Docs on pixelflow-ui pixelflowui.lok1.dev lokidotdev/pixelflow-ui on GitHub Raw registry item This item as JSON

More from pixelflow-ui

All 35 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Accordion Lyraaccordion-lyrapixelflow-uiComponentsFree3 deps
Accordion Novaaccordion-novapixelflow-uiComponentsFree3 deps
Background 1background-1pixelflow-uiComponentsFreeno deps
Background 1Retrobackground-1-retropixelflow-uiComponentsFreeno deps
Bouncy Input Lyrabouncy-input-lyrapixelflow-uiComponentsFree1 dep
Bouncy Input Novabouncy-input-novapixelflow-uiComponentsFree1 dep
Bouncy Input Retrobouncy-input-retropixelflow-uiComponentsFree1 dep
Button 1button-1pixelflow-uiComponentsFreeno 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