KodeKarsa UI

Forms

Inline Edit

Text that turns into a field when edited. Enter saves, Esc cancels.

src/components/ui/inline-edit.tsxNo ui-sdk

Project name

Nama proyek

Import

tsx
import { InlineEdit } from "@/components/ui/inline-edit";

Guidelines

  • Focus returns to the edit button when done.