Skip to content
API reference

blocks/section-card

Import
import * as api from "@fungi.computer/caps/blocks/section-card";
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”
Signature
type SectionCardProps = HTMLAttributes<HTMLDivElement> & object;

Props accepted by SectionCard.

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”
Signature
const SectionCard: ForwardRefExoticComponent<
HTMLAttributes<HTMLDivElement> & object & RefAttributes<HTMLDivElement>
>;

A presentational card shell. It does not assign behavior to action content.