The shadcn Accordion with numbered rows, for FAQs and settings sections.
Import it and pass your content. The props that matter most are listed next.
import { Accordion } from "@/components/ui/notchset/accordion";
export function AccordionExample() {
return (
<Accordion items={[{ id: "run", title: "What counts as a run?", content: "One request from start to finish." }]} />
);
}Accordion–
as the primitivevalue, defaultValue, onValueChange; Base UI multiple, or Radix type and collapsible.
items–
{ id, title, content, meta? }[]The whole list in one line.
AccordionContent meta–
ReactNodeA mono line under the answer.
Accordiondata-slot="accordion"
The list.
AccordionItemdata-slot="accordion-item"
One item.
AccordionTriggerdata-slot="accordion-trigger"
The heading button.
AccordionContentdata-slot="accordion-content"
The panel.
components/ui/notchset/accordion.tsx
pnpm dlx shadcn@latest add https://notchset.dev/r/accordion.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/radix-nova/accordion.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @notchset registry added, @notchset/<name> picks for you.
pnpm add @base-ui/react@^1The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-02
First release