UISplitTextProps
Defined in: ui/src/types.ts:269
Props for UISplitText (used by reconciler and props-driven constructor).
Extends
Section titled “Extends”Properties
Section titled “Properties”alignSelf?
Section titled “alignSelf?”
optionalalignSelf?:"stretch"|"auto"|"flex-start"|"center"|"flex-end"|"baseline"
Defined in: ui/src/types.ts:137
Inherited from
Section titled “Inherited from”autoSplit?
Section titled “autoSplit?”
optionalautoSplit?:boolean
Defined in: ui/src/types.ts:291
Re-split automatically on text / style change. Default true. Set
false and call resplit() to batch edits into one layout pass.
bitmap?
Section titled “bitmap?”
optionalbitmap?:boolean
Defined in: ui/src/types.ts:280
Render the segments with a bitmap font (SplitBitmapText) instead of
canvas Text (SplitText). Pass the installed/baked font name as
style.fontFamily (and glyph size as style.fontSize).
bottom?
Section titled “bottom?”
optionalbottom?:PositionValue
Defined in: ui/src/types.ts:163
Offset from the containing block’s bottom edge — px or "<n>%" (only applies to position: "absolute").
Inherited from
Section titled “Inherited from”charAnchor?
Section titled “charAnchor?”
optionalcharAnchor?:SegmentAnchor
Defined in: ui/src/types.ts:282
Transform origin (0–1) each character rotates / scales about. Default 0.
children?
Section titled “children?”
optionalchildren?:string
Defined in: ui/src/types.ts:273
consumeInput?
Section titled “consumeInput?”
optionalconsumeInput?:boolean
Defined in: ui/src/types.ts:209
Inherited from
Section titled “Inherited from”ConsumeInputProps.consumeInput
optionalflex?:number
Defined in: ui/src/types.ts:136
Shorthand for the common CSS flex: <number> case — expands to
flexGrow: <number>, flexShrink: 1, flexBasis: 0. Use it for a child
that should fill the remaining main-axis space (e.g. the text column
between a fixed icon and a fixed button): sizing from a 0 basis means it
won’t claim its content width and push its siblings, and its text wraps
cleanly. Prefer this over flexGrow: 1 alone, which keeps flexBasis: auto
(content width) and overflows. Explicit flexGrow/flexShrink/flexBasis
override the parts this expands to.
Inherited from
Section titled “Inherited from”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”height?
Section titled “height?”
optionalheight?:LayoutValue
Defined in: ui/src/types.ts:115
Inherited from
Section titled “Inherited from”
optionalleft?:PositionValue
Defined in: ui/src/types.ts:157
Offset from the containing block’s left edge — px or "<n>%" (only applies to position: "absolute").
Inherited from
Section titled “Inherited from”lineAnchor?
Section titled “lineAnchor?”
optionallineAnchor?:SegmentAnchor
Defined in: ui/src/types.ts:286
Transform origin (0–1) each line rotates / scales about. Default 0.
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:231
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:230
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:229
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”PointerEventProps.onPointerOver
position?
Section titled “position?”
optionalposition?:"relative"|"absolute"
Defined in: ui/src/types.ts:155
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:161
Offset from the containing block’s right edge — px or "<n>%" (only applies to position: "absolute").
Inherited from
Section titled “Inherited from”style?
Section titled “style?”
optionalstyle?:Partial<TextStyleOptions>
Defined in: ui/src/types.ts:274
optionaltop?:PositionValue
Defined in: ui/src/types.ts:159
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:164
Inherited from
Section titled “Inherited from”width?
Section titled “width?”
optionalwidth?:LayoutValue
Defined in: ui/src/types.ts:114
Inherited from
Section titled “Inherited from”wordAnchor?
Section titled “wordAnchor?”
optionalwordAnchor?:SegmentAnchor
Defined in: ui/src/types.ts:284
Transform origin (0–1) each word rotates / scales about. Default 0.