Skip to main content

    KeyboardShortcut

    The KeyboardShortcut component visualizes one or multiple keys to communicate keyboard shortcuts for certain actions. To specify a shortcut, provide the key sequence in the aria-keyshortcuts format.

    KeyboardShortcutProps

    extends, ,
    NameTypeDefaultDescription
    keys
    -

    The list of keys the component should display, specified in the aria-keyshortcuts format.

    variant?
    |
    'default'

    The variant that should be used for styling the keys.

    disabled?
    'false'

    Whether the component should be rendered in a disabled state.

    Still have questions?
    Find answers in the Dynatrace Community