# kbd — Examples

## Single Keys

```html
<kbd-ui>&#8984;</kbd-ui>
```

## Combinations

```html
<span style="display:inline-flex; gap:var(--a-space-1); align-items:center;">
  <kbd-ui>&#8984;</kbd-ui>
  <kbd-ui>K</kbd-ui>
</span>
```

## In-Context

```html
<p style="margin:0;">
  Press
  <kbd-ui>&#8984;</kbd-ui>
  <kbd-ui>K</kbd-ui>
  to open the command palette, or
  <kbd-ui>&#9099;</kbd-ui>
  to close it.
</p>
```
