---
url: /reference/items/Frame.md
---
# Frame
## Usage
The `Frame` component and its children `FrameForm`, `FrameTarget`, `FrameAnchor` and `FrameLoader` perform GET or POST requests without reloading the page.
Only include the `Frame` component in your app, as it loads all the others automatically.
```js twoslash
import { registerComponent } from '@studiometa/js-toolkit';
import { Frame } from '@studiometa/ui';
registerComponent(Frame);
```
### Frame
Orchestrates request handling, browser history updates, and related tasks. The component **must have** an `id` attribute. The component works only with its children `FrameForm`, `FrameTarget`, `FrameAnchor` and `FrameLoader`.
```html
```
::: warning ❗ Important
The root element of a `Frame` component **must have an `id` attribute**. It is used to map new content to the existing one.
:::
### FrameForm
The `FrameForm` component should **only be used on a `HTMLFormElement`**. It will use the standard `