Indicate a shortcut for the user
<script setup lang="ts">
import { HShortcut } from '@holistics/design-system'
</script>
<template>
<HShortcut>
Esc
</HShortcut>
</template><script setup lang="ts">
import { HShortcut } from '@holistics/design-system'
</script>
<template>
<HShortcut
outline
>
Esc
</HShortcut>
</template><script setup lang="ts">
import { HShortcut } from '@holistics/design-system'
</script>
<template>
<div class="flex flex-col gap-4">
<HShortcut
theme="dark"
>
Esc
</HShortcut>
<HShortcut
theme="dark"
outline
>
Esc
</HShortcut>
</div>
</template><kbd> ​What does this mean?
All props, events, and attrs that are not specified in the tables below will be passed to the element/component described above.
| Name | Type | Description |
|---|---|---|
outline | boolean= false | |
theme | "light" | "dark"= "light" |
| Name | Scoped | Description |
|---|---|---|
#default | {} |