forms / stable
EditableTitle
Inline record title — always-on input or click-to-edit for peek headers.
LIVE PREVIEW
Loading preview…
When to use
- Record names in peek / sheet headers.
- Create forms where the name is the primary field.
Consider an alternative
- Ordinary form fields — use TextField.
- Read-only titles — use a plain heading.
Import
import { EditableTitle } from '@revido-llc/kit';Keyboard interaction
- Enter — commit (blur) in click-to-edit
- Escape — cancel edit mode in click-to-edit
Props
Props documented by the Kit. Refer to the TypeScript types for the complete interface, including inherited props.
Examples
Click to edit
<EditableTitle mode="clickToEdit" value={name} onChange={setName} />Always input
<EditableTitle mode="input" value={name} onChange={setName} autoFocus />