---
title: "Shortcut"
canonical_url: "https://nnsvn.me/products/nuxt-starter-kit/components/docs/shortcut"
---

> Index of every page on this site: [llms.txt](https://nnsvn.me/llms.txt)

## Usage

<ct-stack>
<div className="p-4">
<shortcut value="meta">



</shortcut>

 <shortcut value="K">



</shortcut>

 <br />

<shortcut value="xs" size="xs">



</shortcut>

 <shortcut value="sm">



</shortcut>

 <shortcut value="md" size="md">



</shortcut>
</div>

```mdc
:shortcut{value="meta"} :shortcut{value="K"}

:shortcut{value="xs" size="xs"} :shortcut{value="sm"} :shortcut{value="md" size="md"}
```

::

You can put `meta` in the `value` field to automatically display either <shortcut value="⌘">



</shortcut>

 or <shortcut value="Ctrl">



</shortcut>

 based on the platform.

## Props

<ct-field-group>
<ct-field name="value" type="string">

Text in the shortcut

</ct-field>

<ct-field name="size" type="'xs' | 'sm' | 'md'" default-value="'sm'">



</ct-field>
</ct-field-group>
</ct-stack>

## Sitemap

See the full [sitemap](https://nnsvn.me/sitemap.md) for all pages.
