NativeHeaderCard
HeaderCard — structured card with title + body + footer slots. Use this when you want a card with the same recurring "title above body above optional actions" shape and don't want to assemble Card + CardHeader + CardTitle + CardContent + CardFooter at every call site. The flat `<Card>{children}</Card>` form remains the 90% case — see standards/usage-doctrine.md for when to reach for HeaderCard.
packages/ui-native/src/components/header-card.tsx
Import
Subpath export:
@marktiderman/genesis-ui-nativeimport { NativeHeaderCard } from "@marktiderman/genesis-ui-native";Components
Auto-generated from TypeScript source via
react-docgen-typescript.NativeHeaderCard
| Prop | Type | Default | Description |
|---|---|---|---|
| title* | ReactNode | — | Heading rendered at the top of the card. Required. |
| body | ReactNode | — | Main body content. Pass any node tree (text, list, form fields). |
| bodyClassName | string | — | Override the body container styling. |
| className | string | — | Override the root container styling. |
| description | ReactNode | — | Optional secondary line under the title. |
| descriptionClassName | string | — | Override the description text styling. |
| footer | ReactNode | — | Footer node (typically a row of buttons). When provided, renders a row-direction footer with internal padding. Skipped entirely when undefined to keep the card compact. |
| footerClassName | string | — | Override the footer container styling. |
| testID | string | — | testID on the root container. Required for instrumented screens. |
| titleClassName | string | — | Override the title text styling. |