PageFaq

Help center page. Slots: search, cats, answers, contact.

Jump to API reference

Import

Vue
import { UiPageFaq } from '@ziyarago/ui/vue'

Default

Search slot
Categories slot
Answers slot
Contact slot
Vue
<UiPageFaq>
  <template #search>Search slot</template>
  <template #cats>Categories slot</template>
  <template #answers>Answers slot</template>
  <template #contact>Contact slot</template>
</UiPageFaq>

API reference

Help center template: search, categories, answers accordion and a contact block.

Props

PropType and valuesDefaultDescription
titlestring—Page heading. The built-in header renders only when title is set and the header slot is empty.
subtitlestring—Caption under the heading.
crumbs{ label: string; href?: string }[]—Breadcrumb trail above the title.

Slots

Vue: named slots. React: a prop with the same name; default is children.

headerCustom page header; replaces the built-in title/subtitle/crumbs header.
actionsButtons on the right of the built-in header. With a title they sit beside it; without a title they render alone, right-aligned (unless the header slot is filled).
searchLarge search field; SearchInput.
catsCategory list on the left; vertical PillTabs.
answersAnswers on the right; Accordion.
contactContact cards below; Card, IconTile, Button.

Notes

  • Place inside AppShell; fill only the slots you need.