KQ-228 · BLUE/PENCIL

Blue Pencil

The editor's blue pencil: select a passage and a small toolbar of rewrite verbs springs up anchored to the selection — explain, improve, shorten, tone. The verbs hand the selected text back out; the pencil never rewrites anything itself, because the surface that edits and the model that edits must be separable for either to be trusted.

KQ-228 · BLUE/PENCIL

North basin holds the tightest window all week. Cut the board first thing Saturday so the crews read it before the gate opens, and keep crane 2 clear until the rig test is signed.

Select any part of the passage to raise the pencil.

Install

One command — the source lands in your repo. Or copy it from the Code tab.

$ pnpm dlx shadcn@latest add @kinetiq/blue-pencil

Props

PropTypeDefaultDescription
childrenReactNodeThe passage the pencil works over.
verbs / onVerbPencilVerb[] · (verbId, selection) => voidThe rewrite verbs, and the hand-off carrying the selected text.