Component

EditSequence

Choose the three real editing actions in order. A premature action reopens the draft, while the accepted actions transform the visible label step by step and finally file it.

Possible use

It could make a reviewer process a handoff draft through a miniature editorial checklist, or let a presenter stage an agenda line before revealing the final copy. The sentence does not need permission to be edited in a prescribed order.

Reasonable alternative

A reasonable local alternative is one string transformation at the boundary where it is needed, or three independent controls when order has meaning. A locked editorial queue adds ceremony to ordinary text cleanup.

01 / Preview

Try it yourself.

Preview Interactive
Edit sequence0 / 3 edits
Current wording

review the ordinary handoff

Choose the next edit in order; editorial freedom is suspended.

Mechanism
1
Choose Trim edges, then Raise first letter, then Issue full stop.
2
Every accepted edit changes the visible wording.
3
Choose early and the draft reopens from the beginning.

02 / Usage

Put it somewhere.

example.tsxTSX
import { EditSequence } from "gra-ui";
import "gra-ui/styles.css";

export function FiledDraft() {
  return <EditSequence label="  review the ordinary handoff  " />;
}

03 / API

Small surface area.

PropTypeDescription
labelstringThe draft that must survive the trim, capitalization and punctuation sequence.