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
6LockBooleanOFFlockbooleanfalseWhen ON, the component stays fixed even when the screen is scrolled.
When OFF, the component moves along with the screen scroll.
Added in v4.1.0.
7FillBooleanONfillbooleantrueBox fill display state
8Fill ColorString
Color Picker
fillColorstringFill color
9Fill OpacityNumber100fillOpacitynumber100Fill opacity
10BorderBooleanONborderbooleantrueBox border display state
11Border WidthNumber2borderWidthnumber2Border width
12Rounded SizeNumber0roundedSizenumber0Box corner rounded size
13Border ColorString
Color Picker
borderColorstringBorder color
14Border OpacityNumber100borderOpacitynumber100Border opacity
15Border StyleSelection
1. Solid
2. Dashed
3. Dotted
SolidborderStylestringsolidBorder style
16Box ShadowNumber0boxShadownumber0Box shadow setting
17VisibilityBooleanONvisibilitybooleantrueComponent visibility state

Event

None