---
url: "https://vueda.dev/v3/reference/api/js/display/kbd/shortcutKeys/functions/normalizeShortcutKeys.md"
title: "normalizeShortcutKeys"
---

# normalizeShortcutKeys

## Overview

Normalize a shortcut value into physical key labels.

Arrays are the canonical input for shortcut components because they preserve
key boundaries without relying on text parsing. Strings are accepted for
compatibility with existing slot content and compact menu notation.

## Signature

`normalizeShortcutKeys(value)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-value">value</span> | `string \| string[]` | yes | Shortcut keys as structured labels or display text. |

### Returns

`string[]`

The key labels in display order.

## Source

`client/lib/display/kbd/shortcutKeys.js:25`
