# Custom JSX Components

### Overview

Include custom JSX components in your [Feathery form](/develop/react/api-guide/form.md) by passing them as part of the `customComponents` prop or directly as React `children`. You can [add custom HTML, JS, and iframes](/platform/build-forms/elements/custom-html-js-css-and-iframes.md) directly from the editor.

#### customComponents

Pass your JSX components as a mapping to the `customComponents` prop if you'd like them to be placed in specific [containers](/platform/build-forms/elements/basic/container.md) on specific steps. The key of the mapping is the container ID, and the value is the component itself. If the specified container exists, your component will be **appended** to any children that already exists within it.

```
import { init, Form } from '@feathery/react';

function App() {
  // Initialize Feathery
  init('SDKKey', 'support@feathery.io');

  // Show the `aBcDeF` Feathery form
  return (
    <Form 
      formId='aBcDeF'
      customComponents={{ 'container-id': <MyAnimation /> }}
    />
  );
}
```

#### children <a href="#usage" id="usage"></a>

Pass your components as `children` if you'd like them to be absolutely positioned and available across every step. You might want to inject custom components like animations, dynamic data, and more.

```
import { init, Form } from '@feathery/react';

function App() {
  // Initialize Feathery
  init('SDKKey', 'support@feathery.io');

  // Show the `aBcDeF` Feathery form
  return (
    <Form formId='aBcDeF'>
      <MyAnimation />
    </Form>
  );
}
```


---

# 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.feathery.io/develop/react/api-guide/form/custom-jsx-components.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.
