docs / patterns / cta-banner
CtaBanner
the panel that closes a marketing page: a title, a line of copy, and the one action you want next. everything below the title is optional, so it degrades to just a headline and a button.
intensity · structuresrsc · server
provenance
shaped from sisu-pluslayer
core / patternsintensity
structures · organizes a region, stays out of the contentcomposition
the last section of a landing page, before the footera proof row of Chips under the action when you have receipts to shownot mid-page. one per page, at the closenever nest one inside a Card. it is already a panela11y
the title is a real heading atheadingLevel · the footer rule is aria-hiddenjest-axelive demo · try it out
Have something in mind?
Design engineering for teams that sweat the details. A short call is the fastest way to start.
Recent work
FintechHealthDeveloper tools
customize
headingLevelmatch the page outline
footertrailing proof row, drawn under a rule
usage
import { CtaBanner } from "@usva-ui/react/patterns/cta-banner";
import { Button } from "@usva-ui/react/primitives/button";
import { Chip } from "@usva-ui/react/primitives/chip";
<CtaBanner
title="Have something in mind?"
body="Design engineering for teams that sweat the details. A short call is the fastest way to start."
action={<Button>Start a project</Button>}
footerLabel="Recent work"
footer={<><Chip>Fintech</Chip><Chip>Health</Chip></>}
/>props
| prop | type | default | notes |
|---|---|---|---|
| title | ReactNode | — | the panel headline. |
| body | ReactNode | — | supporting copy. |
| headingLevel | "h2" | "h3" | "h4" | "h2" | heading element for the title. match the page outline. |
| action | ReactNode | — | the call to action. pass a Button. |
| footer | ReactNode | — | trailing proof row. draws a rule above itself. |
| footerLabel | ReactNode | — | mono kicker beside the footer content. |
get it
bun add @usva-ui/reactusage
import { CtaBanner } from "@usva-ui/react/patterns/cta-banner";
import { Button } from "@usva-ui/react/primitives/button";
import { Chip } from "@usva-ui/react/primitives/chip";
<CtaBanner
title="Have something in mind?"
body="Design engineering for teams that sweat the details."
action={<Button>Start a project</Button>}
footerLabel="Recent work"
footer={<><Chip>Fintech</Chip><Chip>Health</Chip></>}
/>