4.2.0
CoreCollapsible

Collapsible API

Every prop of the 3 parts Collapsible exports, generated from the package manifest.

import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@oceanic-hub/brand-system'
Layer
core — shadcn-derived primitives.
Exports
Collapsible · CollapsibleContent · CollapsibleTrigger
Contract
packages/brand-system/src/components/collapsible.contract.test-d.ts
Demos
3 on the Collapsible page — rendered live, hydrated
Source
packages/brand-system/src/components/collapsible.tsx

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

Collapsible

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

Prop

Type

CollapsibleContent

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

Prop

Type

CollapsibleTrigger

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

Prop

Type

On this page