> This page is for Designer API.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.webflow.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server.

# Get display name (Beta)

> Get the Navigator display name of an element.

## `element.getDisplayName()`

Get the user-facing display name of an element as shown in the Navigator panel.

> **Beta**
>
> These methods are in public beta and may change with future releases.

## Syntax

```typescript
element.getDisplayName(): Promise<null | string>
```

## Returns

* **Promise\<*String*>**: If the element has a custom display name, a promise that resolves to that name.
* **Promise\<`null`>**: If the element is using its default name, a promise that resolves to `null`.

## Example

```typescript
// Get the selected element
const element = await webflow.getSelectedElement();

if (element?.displayName) {

  // Get the element's display name
  const name = await element.getDisplayName();
  console.log(name); // 'Hero Wrapper' or null
}
```

## Designer Ability

Checks for authorization only

| Designer Ability    | Locale | Branch | Workflow | Sitemode |
| :------------------ | :----- | :----- | :------- | :------- |
| **canAccessCanvas** | Any    | Any    | Any      | Any      |