TLCursorType
See source codeA union type representing all available cursor types in the tldraw editor.
Each cursor type corresponds to a different interaction mode or state, helping users understand what action they can perform at any given moment.
type TLCursorType = SetValue<typeof TL_CURSOR_TYPES>
Example
const defaultCursor: TLCursorType = 'default'
const textCursor: TLCursorType = 'text'
const resizeCursor: TLCursorType = 'resize-corner'
const rotateCursor: TLCursorType = 'nesw-rotate'
Prev
TLCanvasUiColorNext
TLDefaultBinding