[ Web Proxy ]
URL:
Viewing: https://reactflow.dev/api-reference/types/key-code [Back]  [Original]

KeyCode - React FlowSkip to Content

React Flow

LearnReferenceExamplesUIShowcaseMoreReact Flow ProRemove Attribution
SearchGitHubDiscord
ReferenceTypes

KeyCode

Source on GitHub

The KeyCode type is used to specify keyboard key codes or combinations, such as deleting nodes or enabling multi-selection. It can be a single string or an array of strings representing key codes.

type KeyCode = string | Array<string>;
Last updated on August 17, 2026

A project by the xyflow team

We are building and maintaining open source software for node-based UIs since 2019.

Web Proxy Viewer  |  New URL  |  Original Page