--- description: 'Learn how to display and define keyboard shortcuts in your app.' --- ## Overview Some components like [Dropdown](/elements/dropdown), [Command Palette](/navigation/command-palette) and [Tooltip](/overlays/tooltip) support the display of keyboard shortcuts. ```vue ``` Shortcuts are displayed and styled through the [Kbd](/elements/kbd) component. ```vue ``` ::alert{icon="i-heroicons-light-bulb"} You will have a preview of how shortcuts are rendered in each component page. :: ## `defineShortcuts` This module provides a `defineShortcuts` composable that allows you to define keyboard shortcuts in your app really easily. ```vue ``` ## `useShortcuts` To display shortcuts in your app according to the user's OS, you can use the `useShortcuts` composable. ```vue ```