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

# iframe()

> Returns the iframe DOM element wrapping the Daily Prebuilt call.

`iframe()`

<Badge color="green">{"✓"} Prebuilt</Badge> <Badge color="red">{"✗"} Custom</Badge>

Returns the `HTMLIFrameElement` that wraps the Daily Prebuilt call, or `null` if no iframe exists.

## Return value

Returns `HTMLIFrameElement | null`.

## Example

```javascript theme={null}
const el = call.iframe();
if (el) {
  el.style.borderRadius = '12px';
}
```

## See also

<CardGroup>
  <Card title="Methods" icon="code" iconType="solid">
    * [createFrame()](/reference/daily-js/factory-methods/create-frame)
    * [wrap()](/reference/daily-js/factory-methods/wrap)
    * [createTransparentFrame()](/reference/daily-js/factory-methods/create-transparent-frame)
  </Card>
</CardGroup>
