Skip to content
Get Pro

Edit Message

An in-place message editor with cancel and save actions.

Loading component preview…

Installation

Add the component source directly to your project.

pnpm dlx shadcn@latest add https://pastaui.com/r/edit-message.json

API reference

Edit Message

Edit Message properties
PropTypeDefaultDescription
valuestringControls the edited message.
onSave() => voidSaves and resends the edited message.