Skip to content
PreviewA Save button's values as its page reported them. Change one, undo it, then Finish or Discard.

1 element: e6

Layout

Display
Direction
Align
Justify
Width
px
Height --space-10
px

Spacing

Gap
px
Row gap
px
Column gap
px
Padding
px
Padding inline --space-4
px
Padding block
px
Margin
px
Margin inline
px
Margin block
px

Typography

Size Body
px
Weight
Line
px
Tracking
px
Align

Surface

Fill
Ink
Border
px
Border ink
Radius --radius-control
px

Text

Text
No edits

No edits to preview

CanvasDesignPanel

selectionrequired
readonly CanvasDesignAnchor[]
The elements the controls read and change: the first answers, and a change reaches every one of them.
sessionrequired
CanvasDesignSession
status
CanvasDesignStatus
Default: "idle"
Applying holds Finish busy; failed shows why under the bar.
problem
string
label
string
Default: "Design"
Its name for assistive technology, in the words of the product ("Design").
onEdit
(target: CanvasDesignTarget, value: string | null) => void
A change of one property: null returns it to the value of the document.
onUndo
() => void
onRedo
() => void
onDiscard
() => void
Every pending edit dropped. The host asks first where the work is worth a question; the part only names the act.
onFinish
() => void
rootStyle
RootStyle
A component's typed override prop: Layout and its documented knobs, each the references it takes or another kit knob of its kind; anything else is a type error at the call site (STYLEX.md).

State machine

PreviewSelect an element to see its fields.

Nothing selected