Discover / Layout
Keyboard shortcut
Display a keyboard shortcut.
Usage notes
Combine key labels with text that explains the action.
Examples use @easyui/react and its stylesheet. Read the setup guide.
Example source
import { Kbd } from "@easyui/react";
export default function Example() {
return (
<div>Press <Kbd>⌘</Kbd> <Kbd>K</Kbd> to search</div>
);
}