Skip to content
On this page

VextNoteCanvas

Props

Prop nameDescriptionTypeValuesDefault
widthWidth of the canvasnumber-300
heightHeight of the canvasnumber-120
backgroundColorBackground color of the canvas.string-'rgba(255, 255, 255, 0)'
zIndexCSS z-index to set for the canvas.string|number-100
showBorderWhether to draw a border around the canvas.boolean-true
borderColorColor of the canvas border, if one should be shown.string-"lightgray"
borderSizeSize of the canvas border, if one should be shown.string|number-1
borderStyleStyle of the canvas border, if one should be shown.stringsolid, dashed, dotted, double, groove, ridge, inset, outset"solid"
borderRadiusRadius of the canvas border corners, if one should be shown.string|number-5