Getting StartedInstall and bootstrap headless foundations 4
LayoutHeadless structural primitives for expandable and container patterns 6
OverlayHeadless modal and floating layer behavior 3
FeedbackHeadless notification and status communication patterns 5
FormHeadless input and selection contracts 17
UtilityReusable action, identity, and clipboard behavior 6
NavigationHeadless trails, trees, menus, and command surfaces 7

API reference

Headless textarea is primitive-first. Attach tngTextarea to a native <textarea>, use tngInputGroup for grouped composition, and style via slot/state attributes.

tngTextarea (directive)

Attach to a native textarea[tngTextarea]. The directive layers textarea-specific behavior on top of the shared input contract.

Directive attachment

html
<textarea tngTextarea rows="4"></textarea>
PropertyTypeDefaultDetails
rowsnumber3Normalized to at least 1 and reflected to the native attribute.
resize'vertical' | 'horizontal' | 'both' | 'none''vertical'Applied to style.resize and emitted as data-resize.
ariaLabel, ariaLabelledby, ariaDescribedBystring | nullnullInherited from the shared input contract with whitespace normalization.
disabled, readonly, requiredboolean-likefalse / nullForwarded to the native textarea and mirrored as data attributes.

tngInputGroup (primitive shell)

Wraps a projected tngTextarea with optional slots and provides the same leading, control, and trailing structure used by other headless field primitives.

Grouped review notes

A multiline field with a shared shell and a lightweight review-status chip.

Grouped review notes (Plain-CSS)

FeatureTypeDetails
Projected control contracttngTextarea projection ruleExpects exactly one projected textarea control inside the group.
Structural layoutBuilt-in group behaviorProvides leading, flexible control, and trailing regions with mirrored state attrs.
data-focusedState attributeApplied on the group host while the textarea or any projected control is focused.
data-invalid, data-disabled, data-readonlyMirrored state attributesReflected from the projected textarea onto the group host for container styling.

Slot directives

DirectiveApplies toAddsDetails
tngPrefixProjected leading elementdata-slot="input-leading"Marks leading adornments such as icons or fixed labels.
tngSuffixProjected trailing elementdata-slot="input-trailing"Marks trailing status tokens, actions, or helper affordances.