Shortcut Key
A component for displaying keyboard shortcuts.
Usage
Example
Components
Component | Built using | Source |
---|---|---|
ShortcutKey | Phlex |
A component for displaying keyboard shortcuts.
Note this does not trigger anything, it is purely a visual prompt
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
Component | Built using | Source |
---|---|---|
ShortcutKey | Phlex |