Inline edit
CoreRename in place: the text becomes a field without moving.
pnpm dlx shadcn@latest add https://wui.alann.works/r/inline-edit.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
value* | string | required |
onSave* | (next: string) => void | Promise<unknown> | required |
label* | string | required |
validate | (next: string) => string | null | undefined | — |
placeholder | string | — |
multiline | boolean | — |
variant | "title" | "body" | — |
as | "span" | "p" | "h1" | "h2" | "h3" | — |
className | string | — |