Landing
LandingFaq
FAQ accordion with optional search that filters and opens matches. Emits FAQPage structured data.
components/landing/LandingFaq.vue
View in the demo
Product landing
What people usually ask
Template landing
Before you buy
What is included, how the licenses work and how support answers.
Question groups
All (14)
In your content
Section blocks are rendered by LandingRenderer from the sections array of a landing. Add this one to your content:
sections: [
{
type: 'faq',
tone: 'surface',
props: { … },
},
]
The props follow LandingFaqProps in types/components/landing.ts; the table below lists them.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
itemsrequired | LandingFaqItem[] | — | The entries of the block: question, answer, an optional group and optional actions, links shown under the answer (the template links the changelog from its updates question). When items have a group, a BaseToggleGroup with the count of each group filters the list (a select on phones); searching always looks in every group. |
contact | LandingAction | — | A link shown when the search finds nothing, such as the support email. |
search-placeholder | string | — | The hint inside the search field. Use an example word your visitors are likely to search. |
structured-data | boolean | true | Adds FAQPage structured data for search engines. |
searchable | boolean | false | Adds a search field over the questions. |
layout | "split" | "stacked" | "stacked" | stacked (default) puts the heading, search and groups above the list. split moves them to a sticky column beside it from md up, with the contact link under the filters; the template uses it. |
eyebrow | string | — | A short label above the title. |
title | string | — | The heading of the block. |
description | string | — | The sentence under the title. |
heading-id | string | — | The id of the heading, used by aria-labelledby and anchors. |
align | LandingHeadingAlign | "center" | start or center heading. |