# FAQs

### Basic FAQ

<figure><img src="/files/wtZftWgkQW4N0u2S3zZk" alt=""><figcaption><p>LightningRails Basic FAQ</p></figcaption></figure>

To add this section copy and paste the following code into your html.erb file:

```
<%= render "components/faq" %>
```

***

### FAQ full width

<figure><img src="/files/3zTOdmbXQjm13Z8oVaWF" alt=""><figcaption><p>FAQ section with full width and + signs</p></figcaption></figure>

If you prefer this design copy paste the following:

```
<%= render "components/faq_full" %>
```

More designs coming soon! 🚀

***

### See more FAQ designs:

* [HyperUi faq](https://www.hyperui.dev/components/marketing/faqs)
* [DaisyUI faq](https://daisyui.com/components/collapse/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lightningrails.com/ui-components/faqs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
