Skip to main content

Function: CollapsableCard()

CollapsableCard(__namedParameters): Element

Defined in: lib/layout/CardCollapsable.tsx:22

A collapsible card component that can be expanded and collapsed with a header and optional content. The card supports both controlled (via atom) and uncontrolled state management.

Parameters

__namedParameters

allowCollapse?

boolean = true

alwaysVisible?

ReactNode

children

ReactNode

className?

string

openAtom?

WritableAtom<boolean | Promise<boolean>, any, any>

title

string

withCloseButton?

boolean

Returns

Element