jatui

InlineEdit

Click-to-edit text with auto-save, cancel, and textarea support

Single-line (text)

Click the title to edit. Press Enter or blur to save; Escape to cancel.

Multiline (textarea)

Click to edit. Blur saves; Escape cancels.

With save/cancel buttons

Truncated + disabled

Props

PropTypeDefaultDescription
valuestring-Current value (required)
onSave(value) => void | Promise<void>-Called on save (required)
type"text" | "textarea""text"Input type
placeholderstring"Click to edit…"Empty state placeholder
showButtonsbooleanfalseShow explicit save/cancel buttons
truncatebooleanfalseTruncate long display text with ellipsis
rowsnumber3Textarea rows
disabledbooleanfalseDisable editing