> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usedynamite.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Read /start/capabilities before choosing an integration. Use the deployed server’s tools/list for current tool inputs.

# Components

> Personalize an entire section.

Use a component target for content that belongs together: a case study, product guide, offer, or image with a CTA.

```html theme={null}
<section class="customer-story">
  <h2>See how operations teams use the product.</h2>
  <p>Read the customer story.</p>
  <a href="/customers/operations">View case study</a>
</section>
```

Use a real destination and classes from your website.

## Replace or insert

* **`replace`:** keep the target element and replace its children.
* **`after`:** insert a block after the target. The original stays in place.

The default variant restores the original, or removes the inserted block.

## Reuse a component

Create a component with `save_component`, then pass its ID to `save_variant`. Editing it updates every draft that references it. Publish when the changes are ready.

## Supported content

Components contain HTML and supported styles. Scripts, forms, event handlers, and external stylesheets are removed. Use links for actions; imported buttons become plain content.

Keep interactive logic in your application. For a dropdown, use [controls](https://docs.usedynamite.com/experiences/controls.md). For questions and answers, see [quizzes](https://docs.usedynamite.com/experiences/quizzes.md).

> [accordion] Styling and import details
>
> Simple embedded CSS can be inlined. Media queries, custom fonts, keyframes, and remaining style tags are discarded. Existing site classes work well for responsive layouts.
>
> Review import warnings and the saved result. The server importer is stricter than the browser allowlist; see the [HTML reference](https://docs.usedynamite.com/reference/html.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.