Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tsdraw.com/llms.txt

Use this file to discover all available pages before exploring further.

tsdraw comes with default keyboard shortcuts for common actions. You can override or disable them through the keyboardShortcuts prop.

Default shortcuts

ShortcutAction
VSelect
HHand
DPen
EEraser
RRectangle
OEllipse
Cmd+ZUndo
Cmd+Shift+ZRedo

Customizing

<Tsdraw keyboardShortcuts={{ tools: { pen: 'p' } }} />

Disabling

<Tsdraw keyboardShortcuts={{ enabled: false }} />
Shortcuts fire only when the canvas has focus.