# Examples

Framework-specific patterns for embedding a forms.app form, including how to safely load the script embed inside a component's lifecycle.

React
Next.js
Vue
Kotlin
Android, via WebView.

## Which embed method should I use?

- **[Iframe embed](/embeds/iframe-embed)** needs no JavaScript integration. It's a safe default inside any component: just render the `<iframe>`.
- **[Script embed](/embeds/script-embed)**, needed for pop-ups, side tabs, the chatbot and slider layouts, auto-resizing height, and prefilled data, touches `window` and the DOM directly. It needs a little lifecycle-aware loading, which is what each page in this section covers.


## What's next

- [Embed options](/embeds/embed-options) for the full settings reference of every layout.
- [Passing data to your form](/embeds/passing-form-data).