SectionCard
function SectionCard(__namedParameters): ReactElement;Defined in: src/ui/components/bits.tsx:105
A bordered card with a titled header row and a padded body. A string title also labels the
<section> (aria-label), so the card is a named region in the accessibility tree.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
__namedParameters |
{ actions?: ReactNode; "aria-label"?: string; bodyClassName?: string; children: ReactNode; className?: string; description?: ReactNode; flush?: boolean; id?: string; title: ReactNode; } |
- |
__namedParameters.actions? |
ReactNode |
Right-aligned header controls. |
__namedParameters.aria-label? |
string |
The region’s accessible name. Default: title when it is a string. |
__namedParameters.bodyClassName? |
string |
- |
__namedParameters.children |
ReactNode |
- |
__namedParameters.className? |
string |
- |
__namedParameters.description? |
ReactNode |
- |
__namedParameters.flush? |
boolean |
No body padding (tables and lists that run edge to edge). |
__namedParameters.id? |
string |
- |
__namedParameters.title |
ReactNode |
- |
Returns
Section titled “Returns”ReactElement