tuil
ReferenceComponentsForms and controls

FieldDescription

FieldDescription component API, behavior, and executable example.

View rawEdit

Loading executable example…

API and events

Connect semantic terminal controls to typed form state, validation, descriptions, errors, hints, and submission.

export const FieldDescription: typeof Text;

Props, functions, and events

This declaration has no public members.

Controls expose onValueChange, onSubmit, focus, selection, and validation callbacks.

Callback props run after the documented input is accepted. Callbacks are not cancellable unless their return type or description states otherwise.

Interaction and capabilities

Text controls edit directly; choice controls use arrows and Space or Enter; Form coordinates validation and submission.

The published manifest records keyboard, focus, pointer, theme, terminal, semantic, event, and dependency requirements.

Complete import

import { FieldDescription } from "@/components/tuil/forms/controls";

On this page