API reference
blocks/section-card
Import
Section titled “Import”import * as api from "@fungi.computer/caps/blocks/section-card";Exports
Section titled “Exports”| Kind | Export | Description |
|---|---|---|
| type alias | SectionCardProps | Props accepted by SectionCard. |
| constant | SectionCard | A presentational card shell. It does not assign behavior to action content. |
SectionCardPropstype alias
Section titled “SectionCardProps”type SectionCardProps = HTMLAttributes<HTMLDivElement> & object;Props accepted by SectionCard.
Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
heading |
ReactNode |
The host-provided section heading. |
description? |
ReactNode |
Optional host-provided supporting copy. |
actions? |
ReactNode |
Optional host-provided controls or status content. |
children? |
ReactNode |
The section body, supplied by the host through normal composition. |
span? |
"auto" | "full" |
Inside a SectionGrid, full spans every column; auto takes one. |
headingLevel? |
2 | 3 |
Heading level; the host keeps its document outline. Defaults to 3. |
SectionCardconstant
Section titled “SectionCard”const SectionCard: ForwardRefExoticComponent< HTMLAttributes<HTMLDivElement> & object & RefAttributes<HTMLDivElement>>;A presentational card shell. It does not assign behavior to action content.