PanelProps
Defined in: ui/src/types.ts:271
Props for PanelNode (used by reconciler and props-driven constructor).
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Properties
Section titled “Properties”alignItems?
Section titled “alignItems?”
optionalalignItems?:"stretch"|"flex-start"|"center"|"flex-end"|"baseline"
Defined in: ui/src/types.ts:278
alignSelf?
Section titled “alignSelf?”
optionalalignSelf?:"stretch"|"auto"|"flex-start"|"center"|"flex-end"|"baseline"
Defined in: ui/src/types.ts:126
Inherited from
Section titled “Inherited from”background?
Section titled “background?”
optionalbackground?:BackgroundOptions
Defined in: ui/src/types.ts:292
bottom?
Section titled “bottom?”
optionalbottom?:PositionValue
Defined in: ui/src/types.ts:152
Offset from the containing block’s bottom edge — px or "<n>%" (only applies to position: "absolute").
Inherited from
Section titled “Inherited from”consumeInput?
Section titled “consumeInput?”
optionalconsumeInput?:boolean
Defined in: ui/src/types.ts:198
Inherited from
Section titled “Inherited from”ConsumeInputProps.consumeInput
direction?
Section titled “direction?”
optionaldirection?:FlexDirection
Defined in: ui/src/types.ts:275
flexBasis?
Section titled “flexBasis?”
optionalflexBasis?:LayoutValue
Defined in: ui/src/types.ts:125
Inherited from
Section titled “Inherited from”flexGrow?
Section titled “flexGrow?”
optionalflexGrow?:number
Defined in: ui/src/types.ts:123
Inherited from
Section titled “Inherited from”flexShrink?
Section titled “flexShrink?”
optionalflexShrink?:number
Defined in: ui/src/types.ts:124
Inherited from
Section titled “Inherited from”
optionalgap?:number
Defined in: ui/src/types.ts:276
height?
Section titled “height?”
optionalheight?:LayoutValue
Defined in: ui/src/types.ts:115
Inherited from
Section titled “Inherited from”justifyContent?
Section titled “justifyContent?”
optionaljustifyContent?:"flex-start"|"center"|"flex-end"|"space-between"|"space-around"|"space-evenly"
Defined in: ui/src/types.ts:284
optionalleft?:PositionValue
Defined in: ui/src/types.ts:146
Offset from the containing block’s left edge — px or "<n>%" (only applies to position: "absolute").
Inherited from
Section titled “Inherited from”margin?
Section titled “margin?”
optionalmargin?:number| {bottom?:number;left?:number;right?:number;top?:number; }
Defined in: ui/src/types.ts:120
Inherited from
Section titled “Inherited from”maxHeight?
Section titled “maxHeight?”
optionalmaxHeight?:LayoutValue
Defined in: ui/src/types.ts:119
Inherited from
Section titled “Inherited from”maxWidth?
Section titled “maxWidth?”
optionalmaxWidth?:LayoutValue
Defined in: ui/src/types.ts:117
Inherited from
Section titled “Inherited from”minHeight?
Section titled “minHeight?”
optionalminHeight?:LayoutValue
Defined in: ui/src/types.ts:118
Inherited from
Section titled “Inherited from”minWidth?
Section titled “minWidth?”
optionalminWidth?:LayoutValue
Defined in: ui/src/types.ts:116
Inherited from
Section titled “Inherited from”onHover?
Section titled “onHover?”
optionalonHover?: (hovering) =>void
Defined in: ui/src/types.ts:220
Parameters
Section titled “Parameters”hovering
Section titled “hovering”boolean
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”onPointerOut?
Section titled “onPointerOut?”
optionalonPointerOut?: () =>void
Defined in: ui/src/types.ts:219
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”PointerEventProps.onPointerOut
onPointerOver?
Section titled “onPointerOver?”
optionalonPointerOver?: () =>void
Defined in: ui/src/types.ts:218
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”PointerEventProps.onPointerOver
overflow?
Section titled “overflow?”
optionaloverflow?:"visible"|"hidden"
Defined in: ui/src/types.ts:291
padding?
Section titled “padding?”
optionalpadding?:Padding
Defined in: ui/src/types.ts:277
position?
Section titled “position?”
optionalposition?:"relative"|"absolute"
Defined in: ui/src/types.ts:144
Positioning mode for this element relative to its parent. Defaults to
"relative" — the element flows in the parent’s flex layout. Set to
"absolute" to lift the element out of the flow and pin it via
left / top / right / bottom against the parent’s content box.
A position: "relative" ancestor acts as the containing block for any
absolute-positioned descendants — useful for HUD overlays, modal
backdrops, and badge markers. See <ZStack> in @yagejs/ui-react for
an opinionated overlay primitive.
Inherited from
Section titled “Inherited from”right?
Section titled “right?”
optionalright?:PositionValue
Defined in: ui/src/types.ts:150
Offset from the containing block’s right edge — px or "<n>%" (only applies to position: "absolute").
Inherited from
Section titled “Inherited from”
optionaltop?:PositionValue
Defined in: ui/src/types.ts:148
Offset from the containing block’s top edge — px or "<n>%" (only applies to position: "absolute").
Inherited from
Section titled “Inherited from”visible?
Section titled “visible?”
optionalvisible?:boolean
Defined in: ui/src/types.ts:153
Inherited from
Section titled “Inherited from”width?
Section titled “width?”
optionalwidth?:LayoutValue
Defined in: ui/src/types.ts:114