Editable

Click-to-edit inline text.

With placeholder

Textarea

API reference

Inputs

PropTypeDefaultDescription
placeholderstring'Empty'Text shown when the value is empty.
labelstring'value'Noun used in the field's accessible label.
multilinebooleanfalseEdit in a multi-line textarea instead of a single-line input.

Two-way models

Bind with [(name)], or one-way as an input.

PropTypeDefaultDescription
valuestring''Current text. Two-way bindable with `[(value)]`.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.