Skip to main content

Text Input

Deprecated

This node is deprecated and kept only so existing projects keep working. It is not offered in the node picker for new use.

Legacy bare text field, hidden from the picker. Use the Text Input control (net.noodl.controls.textinput) in new graphs.

The legacy Text Input renders an unstyled input/textarea with the basic text surface (onTextChanged string output, focus/blur/clear signals). It remains registered for old projects but is hidden from the node picker; the Text Input control supersedes it with label/icon support, visual states and theming.

When to use it

Do not use in new graphs — use net.noodl.controls.textinput instead.

At a glance

CategoryVisual
Type nameText Input
Available inbrowser
SSR compatibilitysafe
Provided bynoodl-viewer-react

Inputs

Values

NameTypeDefaultDescription
alignXEnum (left, center, right)Horizontal alignment of this element within the space its parent gives it
alignYEnum (top, center, bottom)Vertical alignment of this element within the space its parent gives it
backgroundColorColortransparent
blockTouchBoolean
borderColorColorblack
borderWidthNumber0
boxShadowBlurRadiusNumber5
boxShadowColorColorrgba(0,0,0,0.2)
boxShadowEnabledBooleanfalse
boxShadowInsetBooleanfalse
boxShadowOffsetXNumber0
boxShadowOffsetYNumber0
boxShadowSpreadRadiusNumber2
clickBubblingEnum (auto, always, never)auto
colorColor
cssClassNameString``Extra CSS class names to put on this element, for styling from a stylesheet you supply
enabledBooleantrue
fontFamilyFont
fontSizeNumber
heightDimension100Height of the element; how the value is read depends on Size Mode
marginBottomNumberSpace outside the element's bottom edge, between it and its neighbours
marginLeftNumberSpace outside the element's left edge, between it and its neighbours
marginRightNumberSpace outside the element's right edge, between it and its neighbours
marginTopNumberSpace outside the element's top edge, between it and its neighbours
maxHeightNumberLargest height the element may grow to, taking priority over Height
maxWidthNumberLargest width the element may grow to, taking priority over Width
minHeightNumberSmallest height the element may shrink to, taking priority over Height
minWidthNumberSmallest width the element may shrink to, taking priority over Width
mixBlendModeEnum (normal, multiply, screen, overlay, darken, lighten, color-dodge, color-burn, hard-light, soft-light, difference, exclusion, hue, saturation, color, luminosity)normalHow this element's colours blend with whatever is painted behind it
mountedBooleantrueRemoves the element from the page entirely when false, unlike Visible which leaves its space behind
opacityNumber1How opaque this element is, from 0 for invisible to 1 for solid
paddingBottomNumber0Space inside the element's bottom edge, between it and its content
paddingLeftNumber0Space inside the element's left edge, between it and its content
paddingRightNumber0Space inside the element's right edge, between it and its content
paddingTopNumber0Space inside the element's top edge, between it and its content
placeholderStringType here...
positionEnum (relative, absolute, sticky, fixed)relativeHow the element is placed: In Layout follows its siblings, Absolute ignores them, Sticky pins to the parent edge on overflow, Fixed stays put and takes no space
sizeModeEnum (explicit, contentWidth, contentHeight, contentSize)contentSizeWhether Width and Height are used as given, or the element sizes itself to fit its contents
startValueString
styleCssString/* background-color: red; */Raw CSS declarations applied to this element, overriding the styling ports above
textStyleTextStyleNone
transformOriginXNumber50Horizontal point the element rotates and scales around, as a fraction of its width
transformOriginYNumber50Vertical point the element rotates and scales around, as a fraction of its height
transformRotationNumber0Rotates the element clockwise in degrees, without affecting the layout
transformScaleNumber1Scales the element about its transform origin; 1 leaves it unscaled
transformXNumber0Moves the element right after layout, without moving its siblings
transformYNumber0Moves the element down after layout, without moving its siblings
typeEnum (text, textArea, email, number, password, url)text
variantStringName of a saved variant of this node type to apply, replacing the styling set here
visibleBooleantrueHides the element while keeping the space it occupies in the layout
widthDimension100Width of the element; how the value is read depends on Size Mode
zIndexNumberPaint order among overlapping siblings; higher numbers paint on top

Signals

NameTypeDefaultDescription
blurSignal
clearSignal
focusSignal
setSignal

Outputs

Values

NameTypeDefaultDescription
boundingHeightNumberHeight this element actually ended up with after layout, in pixels
boundingWidthNumberWidth this element actually ended up with after layout, in pixels
childIndexNumberThis element's position among its parent's children, counting from 0
controlIdString
enabledBoolean
focusStateBoolean
hoverStateBoolean
onTextChangedString
pressedStateBoolean
screenPositionXNumberDistance in pixels from the left edge of the window to this element's left edge
screenPositionYNumberDistance in pixels from the top edge of the window to this element's top edge
thisReferenceA reference to this node itself, for ports that take a node rather than a value

Signals

NameTypeDefaultDescription
didMountSignalFires once this element has been added to the page and can be measured
hoverEndSignal
hoverStartSignal
onBlurSignal
onEnterSignal
onFocusSignal
pointerDownSignal
pointerUpSignal
willUnmountSignalFires just before this element is removed from the page, while it still exists

Dynamic ports

This node's port list changes at runtime (declared-port-groups); the tables above may be incomplete for a given instance.

Declares conditional/expandable port groups whose visibility depends on parameter values (see declaredPortGroups).

ConditionInputs shownOutputs shown
boxShadowEnabled = trueboxShadowOffsetX, boxShadowOffsetY, boxShadowInset, boxShadowBlurRadius, boxShadowSpreadRadius, boxShadowColor
sizeMode = explicit OR sizeMode = contentHeightwidth
sizeMode = explicit OR sizeMode = contentWidthheight

Ports at runtime

Declared-port-groups: size-mode and option-dependent ports swap by parameters, as on other visual nodes.

Text Input

Generated

This page is generated from node-catalog-enriched.json. Do not edit it by hand — run npm run docs:nodes to regenerate, and fix the source enrichment instead.