---
title: "Interface CreateDashboardModalProps"
url: "https://www.metabase.com/docs/latest/embedding/sdk/api/CreateDashboardModalProps"
version: "65"
---

> For the complete documentation index, see [llms.txt](https://www.metabase.com/docs/llms.txt).

# Interface CreateDashboardModalProps

**`Expand`**

## Properties

| Property                                                | Type                                                                       | Description                                                                                                        |
| :------------------------------------------------------ | :------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------- |
| `initialCollectionId?` | [`SdkCollectionId`](https://www.metabase.com/docs/latest/embedding/sdk/api/SdkCollectionId.md)                              | Initial collection in which to create a dashboard. You can use predefined system values like `root` or `personal`. |
| `isOpen?`                           | `boolean`                                                                  | Whether the modal is open or not.                                                                                  |
| `onClose?`                         | () => `void`                                                               | Handler to close modal component                                                                                   |
| `onCreate`                        | (`dashboard`: [`MetabaseDashboard`](https://www.metabase.com/docs/latest/embedding/sdk/api/MetabaseDashboard.md)) => `void` | Handler to react on dashboard creation.                                                                            |
| `targetCollection?`       | [`SdkCollectionId`](https://www.metabase.com/docs/latest/embedding/sdk/api/SdkCollectionId.md)                              | The collection to save the dashboard to. This will hide the collection picker from the save modal.                 |
