Section FAQ siap pakai dari details dan summary native, dengan enam tata letak, pencarian opsional, tab kategori, dan JSON-LD FAQPage.
Frequently asked questions
Everything you need to know about plans and billing.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Frequently asked questions
Everything you need to know about plans and billing.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Frequently asked questions
Everything you need to know about plans and billing.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Frequently asked questions
Everything you need to know about plans and billing.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Frequently asked questions
Everything you need to know about plans and billing.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
<x-markas.faq title="Frequently asked questions" description="Everything you need to know about plans and billing." :items="[['question' => 'Is there a free trial?', 'answer' => 'Yes. Every plan starts with a 14 day trial, no card required.'], ['question' => 'Can I cancel at any time?', 'answer' => 'Yes. Your plan stays active until the end of the billing period.'], ['question' => 'Can I invite my team?', 'answer' => 'Invite as many members as your plan allows from the team settings.'], ['question' => 'Where is my data stored?', 'answer' => 'Data is stored in Jakarta and backed up every day.']]">
<x-slot:contact>Still have questions? <a href="#">Contact support</a></x-slot:contact>
</x-markas.faq>Contoh
Terbagi
Questions and answers
Cannot find what you need? Our team replies within a day.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Questions and answers
Cannot find what you need? Our team replies within a day.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Questions and answers
Cannot find what you need? Our team replies within a day.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Questions and answers
Cannot find what you need? Our team replies within a day.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Questions and answers
Cannot find what you need? Our team replies within a day.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
<x-markas.faq variant="split" title="Questions and answers" description="Cannot find what you need? Our team replies within a day." :items="[['question' => 'Is there a free trial?', 'answer' => 'Yes. Every plan starts with a 14 day trial, no card required.'], ['question' => 'Can I cancel at any time?', 'answer' => 'Yes. Your plan stays active until the end of the billing period.'], ['question' => 'Can I invite my team?', 'answer' => 'Invite as many members as your plan allows from the team settings.'], ['question' => 'Where is my data stored?', 'answer' => 'Data is stored in Jakarta and backed up every day.']]">
<x-slot:contact>Still have questions? <a href="#">Contact support</a></x-slot:contact>
</x-markas.faq>Kartu
Before you start
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Before you start
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Before you start
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Before you start
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Before you start
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
<x-markas.faq variant="cards" title="Before you start" exclusive :items="[['question' => 'Is there a free trial?', 'answer' => 'Yes. Every plan starts with a 14 day trial, no card required.'], ['question' => 'Can I cancel at any time?', 'answer' => 'Yes. Your plan stays active until the end of the billing period.'], ['question' => 'Can I invite my team?', 'answer' => 'Invite as many members as your plan allows from the team settings.'], ['question' => 'Where is my data stored?', 'answer' => 'Data is stored in Jakarta and backed up every day.']]"></x-markas.faq>Rata tengah
Still curious?
Short answers to the questions we hear most.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Still curious?
Short answers to the questions we hear most.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Still curious?
Short answers to the questions we hear most.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Still curious?
Short answers to the questions we hear most.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Still curious?
Short answers to the questions we hear most.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
<x-markas.faq variant="centered" title="Still curious?" description="Short answers to the questions we hear most." :items="[['question' => 'Is there a free trial?', 'answer' => 'Yes. Every plan starts with a 14 day trial, no card required.'], ['question' => 'Can I cancel at any time?', 'answer' => 'Yes. Your plan stays active until the end of the billing period.'], ['question' => 'Can I invite my team?', 'answer' => 'Invite as many members as your plan allows from the team settings.'], ['question' => 'Where is my data stored?', 'answer' => 'Data is stored in Jakarta and backed up every day.']]">
<x-slot:contact>Still have questions? <a href="#">Contact support</a></x-slot:contact>
</x-markas.faq>Bisa dicari
Help center
Search the most common questions.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
No questions match your search
Help center
Search the most common questions.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Help center
Search the most common questions.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Help center
Search the most common questions.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Help center
Search the most common questions.
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
<x-markas.faq variant="searchable" title="Help center" description="Search the most common questions." :items="[['question' => 'Is there a free trial?', 'answer' => 'Yes. Every plan starts with a 14 day trial, no card required.'], ['question' => 'Can I cancel at any time?', 'answer' => 'Yes. Your plan stays active until the end of the billing period.'], ['question' => 'Can I invite my team?', 'answer' => 'Invite as many members as your plan allows from the team settings.'], ['question' => 'Where is my data stored?', 'answer' => 'Data is stored in Jakarta and backed up every day.']]"></x-markas.faq>Kategori
Frequently asked questions
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Frequently asked questions
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Frequently asked questions
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Frequently asked questions
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
Frequently asked questions
Is there a free trial?
Yes. Every plan starts with a 14 day trial, no card required.
Can I cancel at any time?
Yes. Your plan stays active until the end of the billing period.
Can I invite my team?
Invite as many members as your plan allows from the team settings.
Where is my data stored?
Data is stored in Jakarta and backed up every day.
<x-markas.faq variant="categories" title="Frequently asked questions" exclusive :items="[['question' => 'Is there a free trial?', 'answer' => 'Yes. Every plan starts with a 14 day trial, no card required.', 'category' => 'Billing'], ['question' => 'Can I cancel at any time?', 'answer' => 'Yes. Your plan stays active until the end of the billing period.', 'category' => 'Billing'], ['question' => 'Can I invite my team?', 'answer' => 'Invite as many members as your plan allows from the team settings.', 'category' => 'Account'], ['question' => 'Where is my data stored?', 'answer' => 'Data is stored in Jakarta and backed up every day.', 'category' => 'Security']]"></x-markas.faq>Instalasi
npx markasui@latest add faqpnpm dlx markasui@latest add faqyarn dlx markasui@latest add faqbunx --bun markasui@latest add faq- Pastikan Tailwind CSS v4 dan markas.css sudah terpasang. Lihat Instalasi.
- Pasang dependensi:
npm install alpinejs - Salin source komponen di bawah ini ke
resources/views/components/markas/faq.blade.php.
- Pastikan Tailwind CSS v4 dan markas.css sudah terpasang. Lihat Instalasi.
- Salin source komponen di bawah ini ke
src/components/markas/Faq.tsx.
- Pastikan Tailwind CSS v4 dan markas.css sudah terpasang. Lihat Instalasi.
- Salin source komponen di bawah ini ke
src/components/markas/Faq.vue.
- Pastikan Tailwind CSS v4 dan markas.css sudah terpasang. Lihat Instalasi.
- Salin source komponen di bawah ini ke
src/lib/components/markas/Faq.svelte.
- Pastikan Tailwind CSS v4 dan markas.css sudah terpasang. Lihat Instalasi.
- Salin source komponen di bawah ini ke
src/components/markas/Faq.astro.
- Pastikan Tailwind CSS v4 dan markas.css sudah terpasang. Lihat Instalasi.
- Salin source komponen di bawah ini ke
src/app/markas/faq.component.ts.
Pemakaian
<x-markas.faq
variant="searchable"
title="Pertanyaan umum"
search-label="Cari pertanyaan"
empty-label="Tidak ada pertanyaan yang cocok"
schema
:items="[
['question' => 'Apakah ada uji coba gratis?', 'answer' => 'Ya. Setiap paket dimulai dengan uji coba 14 hari.'],
['question' => 'Bisakah saya berhenti kapan saja?', 'answer' => 'Bisa. Paket tetap aktif sampai akhir periode.'],
]"
>
<x-slot:contact>Masih punya pertanyaan? <a href="/kontak">Hubungi kami</a></x-slot:contact>
</x-markas.faq>
<x-markas.faq variant="categories" categories-label="Kategori pertanyaan" :items="$faqs" />import { Faq } from "@/components/markas/Faq";
<Faq
variant="searchable"
title="Pertanyaan umum"
items={faqs}
searchLabel="Cari pertanyaan"
emptyLabel="Tidak ada pertanyaan yang cocok"
contact={
<>
Masih punya pertanyaan? <a href="/kontak">Hubungi kami</a>
</>
}
/>
<Faq variant="categories" categoriesLabel="Kategori pertanyaan" items={faqs} /><template>
<Faq
variant="searchable"
title="Pertanyaan umum"
:items="faqs"
search-label="Cari pertanyaan"
empty-label="Tidak ada pertanyaan yang cocok"
>
<template #contact>
Masih punya pertanyaan? <a href="/kontak">Hubungi kami</a>
</template>
</Faq>
<Faq
variant="categories"
categories-label="Kategori pertanyaan"
:items="faqs"
/>
</template><script lang="ts">
import Faq from "$lib/components/markas/Faq.svelte";
</script>
<Faq
variant="split"
title="Frequently asked questions"
items={faqs}
exclusive
schema
>
{#snippet contact()}
Still have questions? <a href="/contact">Contact support</a>
{/snippet}
</Faq>
<Faq variant="searchable" title="Help center" items={faqs} />---
import Faq from "@/components/markas/Faq.astro";
---
<Faq variant="split" title="Frequently asked questions" items={faqs} exclusive schema>
<Fragment slot="contact">
Still have questions? <a href="/contact">Contact support</a>
</Fragment>
</Faq>
<Faq variant="categories" title="Help center" items={faqsWithCategory} />searchable dan categories memakai satu script kecil yang dibundel per halaman. Varian lain tanpa JavaScript.
import { Component } from "@angular/core";
import { Faq, type FaqItem } from "./markas/faq.component";
@Component({
selector: "app-help",
imports: [Faq],
template: `
<markas-faq
variant="split"
title="Frequently asked questions"
[items]="faqs"
exclusive
schema
>
<ng-container contact>
Still have questions? <a href="/contact">Contact support</a>
</ng-container>
</markas-faq>
`,
})
export class Help {
faqs: FaqItem[] = [];
}- Buka tutup memakai
detailsnative, jadi simple, split, cards, dan centered tidak butuh JavaScript. Tinggi dianimasikan dengan::details-contentdaninterpolate-sizebila didukung, selain itu langsung berganti. - searchable dan categories butuh sedikit state. Versi Blade butuh Alpine.js hanya untuk dua varian itu.
- Tata letak mengikuti lebar section lewat container query, jadi split dan cards menumpuk di kolom sempit.
schemamencetak JSON-LD FAQPage dari item yang sama. Pakai sekali per halaman.
Props
| Nama | Tipe | Default | Keterangan |
|---|---|---|---|
items | { question: string; answer: string; category?: string }[] | [] | Daftar pertanyaan dengan jawaban teks biasa. category dipakai varian categories. |
title | string | '' | Judul section (h2). Juga menjadi nama landmark section. |
description | string | '' | Teks singkat di bawah judul. |
variant | 'simple' | 'split' | 'cards' | 'centered' | 'searchable' | 'categories' | 'simple' | Tata letak. split menaruh judul di samping daftar pada kontainer lebar, cards memakai grid dua kolom, searchable menambah kotak cari, categories menambah tab. |
exclusive | boolean | false | Hanya satu pertanyaan terbuka, lewat atribut name yang sama di details. |
schema | boolean | false | Render JSON-LD FAQPage untuk mesin pencari. |
contact | Blade: slot or string · React: ReactNode · Vue: slot or string | - | Kalimat penutup seperti "Masih ada pertanyaan?" dengan tautan. Svelte: string atau snippet. Astro: slot contact atau string. Angular: input teks contact atau elemen dengan atribut contact. |
searchLabel | string | 'Search questions' | Label dan placeholder kotak cari (searchable). |
emptyLabel | string | 'No questions match your search' | Pesan yang diumumkan saat pencarian tidak menemukan apa pun (searchable). |
categoriesLabel | string | 'Question categories' | Nama aksesibel daftar tab kategori (categories). |
Aksesibilitas
- Pertanyaan memakai details dan summary native, jadi Enter dan Spasi membukanya tanpa JavaScript.
- Section diberi nama dari judulnya, dan ikon plus diberi aria-hidden.
- Kotak cari punya nama aksesibel dan hasil kosong diumumkan lewat region role status.
- Tab kategori mengikuti pola Tabs WAI-ARIA: tombol panah, Home, dan End berpindah antar tab.
Komponen terkait
Komponen section lain dengan class yang sama di setiap framework.