Components / Overlays
ShortcutSheet
A dialog listing every registered shortcut, opened with ?.
@ruckc/truss-ui Overlays
Import
import { ShortcutSheet } from '@ruckc/truss-ui'; Playground
No interactive demo
This component is documented through its API reference below.
API
| Prop | Type | Default | Description |
|---|---|---|---|
open bindable | boolean | false | Whether it is open. Bind it with `bind:open`. |
shortcut | string | null | '?' | Key combination that toggles the sheet; `null` disables the built-in binding. |
title | string | 'Keyboard shortcuts' | Heading text. |