Skip to content
All blocks

[12] Marketing

FAQ

A heading with a support link beside six questions and answers in two columns, all open, nothing to click.

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.

faq.tsx

import { Col, Container, Grid2, Link, Row, Section, SectionTitle, Text, Title } from "@vaneui/ui";
const faqs = [
{ q: "Is there a free plan?", a: "Yes. Teams of up to 5 people can use Acme for free, with unlimited projects and 1 GB of files." },
{ q: "Can I change plans later?", a: "Any time. An upgrade starts at once, and a downgrade at the end of the billing period with the difference credited." },
{ q: "How does billing work for teams?", a: "You pay for each member, monthly or yearly. Guests who only view and comment are free." },
{ q: "Where is my data stored?", a: "In the EU or the US, chosen when you create the workspace. It is encrypted at rest and in transit." },
{ q: "Can I import from other tools?", a: "Yes. Importers bring over projects, tasks and comments from CSV files and the most common project tools." },
{ q: "Do you offer discounts?", a: "Nonprofits and schools get 50% off. Startups in an accelerator get the Pro plan free for a year." },
];
export function Faq() {
return (
<Section>
<Container itemsStretch>
<Row tabletStack itemsStart xl>
<Col noShrink tabletWFull className="w-80">
<SectionTitle>Questions and answers</SectionTitle>
<Text secondary>
Can&apos;t find what you need? <Link href="/support">Contact support</Link> and we reply within a day.
</Text>
</Col>
<Grid2 lg flex1 wFull>
{faqs.map((f) => (
<Col key={f.q} xs>
<Title>{f.q}</Title>
<Text secondary>{f.a}</Text>
</Col>
))}
</Grid2>
</Row>
</Container>
</Section>
);
}

How it adapts

  • 1024px and up: the heading in a 320px column beside two columns of answers.
  • Below 1024px: the heading moves above the answers.
  • Below 768px: one answer per row.

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.