Advanced inputs · SU-324
Inline editing looks like text and edits like a field
Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.
-
Edit control
hover only · none at rest
-
Editing
same 22px · 2px ring
At rest
Q4 launch plan
Editing
Q4 launch plan
At rest
Q4 launch plan
Editing
Q4 launch plan
-
Edit field
14px · text shifts
-
Edit control
visible · 32px -
Save and cancel
tick + cross · 32px
What changes
- Bad
- The title has a pencil only on hover; clicking swaps it for a default
14pxinput with the text shifted and nothing to confirm or cancel. - Good
- A visible
32pxpencil; editing keeps the22pxtitle exactly in place with a2pxring, and a tick and cross follow the field.
The rules
-
SU-324
Inline editing looks like text and edits like a field. The read state shows the value with a visible edit control (never hover-only). The edit state keeps the same font size, weight and position, so nothing shifts. Enter saves and Esc cancels; short single-line text can save on blur, while long text stays open with Save and Cancel. A 32px tick and cross sit at the field end, saving shows a small spinner, and an error keeps the field open.