Skip to content
All blocks

[15] Marketing

Call to Action

A filled band with a centered headline, one line of text and two buttons.

1280px

Copy the code

One file with one component and its sample data. It needs @vaneui/ui and its stylesheet, set up as in the installation guide.

cta-band.tsx

import { Button, Card, Col, Container, Row, Section, SectionTitle, Text } from "@vaneui/ui";
export function CtaBand() {
return (
<Section>
<Container itemsStretch>
<Card lg filled itemsCenter>
<Col itemsCenter className="max-w-2xl">
<SectionTitle textCenter className="text-balance">Bring your team&apos;s work into one place</SectionTitle>
<Text lg textCenter>Free for teams of up to 5. Set up in minutes, and invite everyone when you are ready.</Text>
</Col>
<Row mobileStack mobileWFull>
<Button href="/signup" md mobileWFull>Start for free</Button>
<Button href="/sales" md ghost mobileWFull>Talk to sales</Button>
</Row>
</Card>
</Container>
</Section>
);
}

How it adapts

  • 768px and up: the two buttons sit side by side under the text.
  • Below 768px: the buttons stack and fill the width.
  • In dark mode the band turns light, so it still stands out from the page.

How these props work is in responsive page sections without breakpoint classes.

Adapt it with your coding agent

Add the VaneUI MCP server, and your agent reads the component docs and prop tables while it changes the block: the copy, the sample data or the layout.

$ claude mcp add vaneui -- npx -y @vaneui/mcp

Setup for other editors is in the AI assistants guide.