Skip to content
Agentic UI Kit
Buy

AI Inline Writer

Document editor where the writer selects a paragraph and improves, shortens or expands it without leaving the flow.

Full screen Try a theme

About this block

What it's for

  • Document editor where the writer selects a paragraph and improves, shortens or expands it without leaving the flow.
  • Email client that translates or changes the tone of a selected fragment before sending.
  • CRM that rewrites a sales note selected by the agent in a professional tone.

For a batch of suggestions already computed over the whole document is being reviewed, use AI Suggestion Diff.

Includes

  • Selection bubble menu
  • Rewrite improve
  • Rewrite shorten
  • Rewrite expand
  • Translate selection
  • Change tone
  • Inline preview before apply
  • Accept discard rewrite

Works with

  • Radix UI primitives (the registry variant it ships in)
  • React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
  • Your theme tokens, in light and dark mode

Install

Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.

Agentic UI CLI
agentic-ui add ai-inline-writer
Installs through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/ai-inline-writer

Used in

A standalone component: drop it into any screen.

Type
Block
Variants
Radix UI
Themes
Light and dark
Widths
Preview it at desktop, tablet and mobile widths above.
Motion
Animated, with a reduced-motion fallback