With a shortcut
Buttons that teach their keyboard shortcut: a small key cap sits after the label.
The code
Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.
<div class="ukc-button-shortcut">
<div class="row">
<button class="btn" type="button"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="6.5"/><path d="M16 16l4.5 4.5"/></svg> Search <kbd>⌘K</kbd></button>
<button class="btn primary" type="button">Send <kbd>⏎</kbd></button>
</div>
</div>
.ukc-button-shortcut { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-button-shortcut *, .ukc-button-shortcut *::before, .ukc-button-shortcut *::after { box-sizing: border-box; }
.ukc-button-shortcut :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-button-shortcut :where(ul, ol) { padding: 0; list-style: none; }
.ukc-button-shortcut :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-button-shortcut :where(a) { color: inherit; }
.ukc-button-shortcut svg { flex: none; }
.ukc-button-shortcut .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ukc-button-shortcut .btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px 8px 12px; border: 1px solid var(--uk-line); border-radius: var(--uk-radius-md); background: var(--uk-surface); color: var(--uk-muted); cursor: pointer; }
.ukc-button-shortcut .btn.primary { background: var(--uk-ink); color: var(--uk-paper); border-color: var(--uk-ink); }
.ukc-button-shortcut kbd { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 11px; padding: 2px 6px; border-radius: var(--uk-radius-sm); border: 1px solid currentColor; opacity: 0.7; }