OptionalbackgroundSemantic background token.
OptionalcancelCancel action label.
OptionalcloseWhether submit or cancel requests closing.
OptionaldefaultInitial input value for uncontrolled usage.
OptionaldescriptionSupporting text shown below the title.
OptionalerrorValidation error shown below the input.
OptionalhintHelpful text shown below the input when no error is present.
Stable overlay identifier.
OptionalinitialPreferred registered focus target when opening.
OptionalinputWhether text editing is unavailable.
Persistent label for the text input.
OptionalmodalWhether this PromptDialog blocks lower overlay layers.
OptionalonCalled when cancellation is requested.
OptionalonCalled after user or imperative edits request a value change.
OptionalonCalled when submission is requested with the current value.
OptionalplaceholderPlaceholder shown while the input is empty.
OptionalrequiredWhether the input label includes a required indicator.
OptionalsubmitWhether submission is unavailable.
OptionalsubmitSubmit action label.
OptionalthemeSemantic terminal theme.
Dialog title.
OptionalvalueControlled input value.
OptionaldefaultInitial state for uncontrolled usage.
OptionalonCalled when Dialog requests an open-state change.
OptionalopenControlled open state.
Stateful data accepted by the Blessed promptDialog adapter.