x
1
2
3
4
5
<div>
<div class="flex flex-col items-center gap-y-4"><kbd class="pointer-events-none inline-flex h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[10px] font-medium text-muted-foreground opacity-100"><span class="text-xs"></span>K</kbd>
<p class="text-muted-foreground text-sm text-center">Note this does not trigger anything, it is purely a visual prompt</p>
</div>
</div>
1
2
3
4
5
6
7
8
9
render(TestView.new) do
div(class: "flex flex-col items-center gap-y-4") do
ShortcutKey do
span(class: "text-xs") { "⌘" }
plain "K"
end
p(class: "text-muted-foreground text-sm text-center") { "Note this does not trigger anything, it is purely a visual prompt" }
end
end