InlineEdit
formsClick-to-edit inline text field with view/edit modes, Enter to confirm, Escape to cancel, blur to save, and disabled state. Token-driven border, colors, and edit icon.
Import
typescript
import { InlineEdit } from "packages/ui/src";Props
InlineEditProps
| Prop | Type | Required |
|---|---|---|
value | string | Yes |
onSave | (value) => void, onCancel?: () => void, placeholder?: string, disabled?: boolean | No |
Examples
InlineEdit
Click-to-edit inline text field. Enter saves, Escape cancels.
Live Edit
TitleProject Alpha
DescriptionAdd description...
Disabled
Cannot edit this
Custom Placeholder
Click here to type...