# Dialog | @account-kit/react

> Overview of the Dialog component from @account-kit/react

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function Dialog(props): null | ReactPortal;
```

Defined in: [account-kit/react/src/components/dialog/dialog.tsx:28](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/react/src/components/dialog/dialog.tsx#L28)

Dialog component that renders a modal dialog.

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `props`
      </td>

      <td>
        `DialogProps`
      </td>

      <td>
        The props for the Dialog component.
      </td>
    </tr>

  </tbody>
</table>

## Returns

`null` | `ReactPortal`

The rendered Dialog component.