Getting StartedInstallation and setup guides 6
FormInput and selection components 27
FlowWorkflow graph and execution surfaces 4
LayoutStructural layout components 9
NavigationMenu surfaces and hierarchical actions 7
OverlayModal and floating layer surfaces 3
FeedbackStatus, empty, progress, and loading placeholder patterns 6
UtilityGeneral-purpose interface utilities 7

API reference

<tng-code-editor> is a model-backed form component with an optional highlighting adapter.

Value and form state

Input / outputTypeDefault
value / valueChangestring / output<string>''
disabled, readonly, requiredboolean-likefalse
rowsnumber10
placeholder, id, namestring | nullnull

Highlighting

InputTypeDefaultNotes
language, adapter, themestring | nullnullPassed to the registered highlighting adapter.
highlightbooleantrueDisable to keep the escaped plain-text overlay.
highlightDebounceMsnumber75Delays adapter work during rapid editing.
sanitizeHtmlboolean | 'auto''auto'Trusted adapter HTML is bypassed only when explicitly false.
renderStateChangeoutput—Emits highlighting, highlighted, idle, and error transitions.

Native textarea contract

tabSize defaults to 4. Accessible naming accepts ariaLabel, ariaLabelledby, ariaDescribedBy, ariaInvalid, and ariaRequired. Autocomplete, autocorrect, autocapitalization, spellcheck, and wrapping use code-oriented defaults.

Render lifecycle

The editor paints escaped source immediately, debounces adapter work, ignores stale async results, and retains plain source when an adapter is unsupported or fails.