AI writing controls that show every change as an edit you can read and trace.
Six components for AI writing and agent features, built on one editing engine: an AI change is never a paragraph that silently swaps, it is struck through and typed in like a proofreader marks a page, and every claim can be traced to its source. Ghost-text Suggest writes an inline completion after your caret in a plain textarea, Tab takes it and underlines what was added, Esc strikes it out. AI Edit Diff plays an edit as tracked changes with Accept and Reject. Creativity Slider rewrites a sample line as you move from precise to playful, so you see each step. Citation Hovercard underlines the claim behind a source marker and draws a line to the passage it rests on. Version Switcher pages through regenerated drafts by their differences. Agent Task List shows each step an agent takes, what it did, the edits it made and an Undo. Light and dark pages, keyboard and screen reader ready, reduced motion, zero dependencies.
Type: Component packs. Price: $2. Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). Tags: AI UI components, AI autocomplete React, ghost text suggestion, AI diff view, citation hovercard, temperature slider, regenerate answer UI, AI agent task list.
What is inside (6 AI writing components)
Ghost-text Suggest: A suggestion is written in after your caret; Tab takes it and underlines what was added, Esc strikes it out.
AI Edit Diff: A pen stroke runs through every removed word, then the new words are typed in, underlined, for you to accept or reject.
Creativity Slider: Move from precise to playful and a sample line is rewritten as an edit, so you see what each step changes.
Citation Hovercard: Point at a source and the claim it backs is underlined and a line is drawn to the exact passage it rests on.
Version Switcher: Step between regenerated drafts and the answer is edited into the next one, showing only what differs.
Agent Task List: Each step fills a progress line, writes what it did, opens to show its edits and can be undone.