Skip to content

Box

A box is a layout component for rectangular design decoration.

Properties

NoItemInput ValueDefault ValueAction PropertyTypeAction Default ValueDescription
1IDStringAuto-generatedidstringAuto-generatedThe [id] property cannot be set by action.
2WidthString240widthstring240Component width
3HeightString180heightstring180Component height
4XStringxstringX coordinate position
5YStringystringY coordinate position
6FillBooleanONfillbooleantrueBox fill display state
7Fill ColorString
Color Picker
fillColorstringFill color
8Fill OpacityNumber100fillOpacitynumber100Fill opacity
9BorderBooleanONborderbooleantrueBox border display state
10Border WidthNumber2borderWidthnumber2Border width
11Rounded SizeNumber0roundedSizenumber0Box corner rounded size
12Border ColorString
Color Picker
borderColorstringBorder color
13Border OpacityNumber100borderOpacitynumber100Border opacity
14Border StyleSelection
1. Solid
2. Dashed
3. Dotted
SolidborderStylestringsolidBorder style
15Box ShadowNumber0boxShadownumber0Box shadow setting
16VisibilityBooleanONvisibilitybooleantrueComponent visibility state

Event

None