FAQ
A FAQ component to showcase frequently asked questions
Frequently Asked Questions
Have a question? We have an answer.
What is the refund policy?
How do I cancel my subscription?
Can I upgrade my plan?
Do you offer a free trial?
The FAQ
component is a great way to showcase frequently asked questions. It uses the Accordion
component to create a visually appealing and interactive experience.
FAQs are pulled from the config.js file by default.
Usage
javascript
1import FAQ from '@/components/landing/FAQ'; 2 3<FAQ />
Props
Name | Type | Default | Description |
---|---|---|---|
title | string | "Frequently Asked Questions" | The title of the component. |
subtitle | string | "Have a question? We have an answer." | The subtitle of the component. |
And that's it for props! The actual FAQs are pulled from the config.js file.