Skip to content

Action key Shortcut

Action key Shortcut  preview image 1

Summary

The Keyboard Shortcut component makes it easy to add hotkeys to your prototypes and projects in Framer.

Description

The Keyboard Shortcut component makes it easy to add hotkeys to your prototypes and projects in Framer. Instead of relying only on clicks or taps, you can map any key to trigger an action.

How to Use

  1. Copy & Paste – Drag or paste the Keyboard Shortcut component into your canvas.

  2. Attach to a Target – Place it inside the button (or any element) you want to control.

  3. Positioning – Change the position to absolute and set z-index to -1 so it doesn’t block interaction.

  4. Customize Properties – Choose the key you want (e.g., B) and assign the action you’d like to trigger (e.g., “Book a call”).

  5. Test – When you preview the prototype, pressing the assigned key will trigger the action.

Features

  • Works with any element inside Framer.

  • Customizable keys for different actions.

  • Non-intrusive (hidden layer with negative z-index).

  • Simple, flexible, and reusable across multiple projects.

Best Practices

  • Use unique keys for different actions to avoid conflicts.

  • Keep shortcuts intuitive (e.g., S for Save, B for Book).

  • Provide visual hints or tooltips in your design so users know shortcuts exist.

Rank history How rankings work →

120014001600178728/149/59/2710/1911/10
  • All · #7565

Details

More like this