Collapsible
The collapsible is a disclosure component to expands/collapses a panel.
Import
Importimport { Collapsible } from '@backyard-ui/core';Usage
UsageControlled
ControlledTo use as controlled, use the onOpenChange prop with open.
API Reference
API ReferenceRoot
Root- isDisabledDescription If `true` the trigger will be disabledType
boolean - isOpenDescription If `true` the will be rendered openedType
boolean - asChildDescriptionType
boolean
Trigger
Trigger- asChildDescriptionType
boolean
Content
Content- asChildDescriptionType
boolean