Support card
SupportCard is a "Need a hand?" panel with a contact button.
<SupportCard> is a heading, a line of text and a call-to-action button — the support panel of a docs home.
Doc engine v2 only (presets). A v1 site doesn't draw <SupportCard>: used empty it shows nothing, and any content inside it shows as plain text.
With your own content
Its children are the text. It never fills itself.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | "Need a hand?" | Heading |
cta | string | "Contact support" | Button text |
href | string | None | Where the button goes, for example mailto:support@example.com |
In each preset
It's drawn in your preset's home style — or in the layout named by appearance.layout.home while that setting still works. Paper, Atlas and Plain draw their support panel. The other presets draw a card in your preset's card style, as wide as the home blocks around it; in Grid it is a ruled row headed Support. On a page with the normal frame it sits in the content column; on a layout: wide page it runs across the page.