Back to components
ComponentsKbd
Displays keyboard shortcuts as compact keycaps for command hints and context actions.
Component
Ctrl
Props
| Props | Default | Type |
|---|---|---|
text | 'Enter' | string |
Usage
text
Sets the label shown inside the keyboard keycap.
<template>
<Kbd text="Ctrl" />
</template>