4.2.0
CoreAccordion

Accordion API

Every prop of the 4 parts Accordion exports, generated from the package manifest.

import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@oceanic-hub/brand-system'
Layer
core — shadcn-derived primitives.
Exports
Accordion · AccordionContent · AccordionItem · AccordionTrigger
Contract
packages/brand-system/src/components/accordion.contract.test-d.ts
Demos
5 on the Accordion page — rendered live, hydrated
Source
packages/brand-system/src/components/accordion.tsx

Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Accordion is for, how it composes and what it looks like, see Accordion.

Accordion

Re-exported from @radix-ui/react-accordion. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

AccordionContent

Inherited from @radix-ui/react-accordion — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

AccordionItem

Inherited from @radix-ui/react-accordion — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

AccordionTrigger

Inherited from @radix-ui/react-accordion — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

On this page