> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# newDashboardSection()

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/types/layoutTypes.ts

Creates a new dashboard section.

**Signature:**

```typescript
export declare function newDashboardSection<T extends ReadonlyArray<ExtendedDashboardItem<unknown>>>(titleOrHeader: IDashboardLayoutSectionHeader | string | undefined, ...items: T): IDashboardLayoutSection<ExtendedDashboardItemTypes<T>>;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| titleOrHeader | [IDashboardLayoutSectionHeader](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardlayoutsectionheader/index.md) \| string \| undefined | header to use for this section (if any); for convenience, you may provide just string containing the title instead of specifying full header. if you specify empty string for title, then there will be no header. |
| items | T | dashboard items to include in the section; note: a deep copy of each item will be used on the new section |

**Returns:**

[IDashboardLayoutSection](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardlayoutsection/index.md)&lt;[ExtendedDashboardItemTypes](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.extendeddashboarditemtypes/index.md)&lt;T&gt;&gt;
