New to wireframes? Start with UI Customization Concepts and the Template Variables overview.
Overview
The AI Rewriter feature places text-rewriting suggestions on a target text range with AI-generated rewrite options the user can pick from. Variables below are available inside any<velt-rewriter-...-wireframe> tag via three forms:
This feature uses the flat-config access pattern — variables are referenced via the explicit
componentConfig.<path> form. Each primitive carries its own componentConfigSignal — the text portal, the dialog, and the bottom-sheet expose different variable sets (documented separately below).Component Config — Rewriter Text Portal
State on the<velt-rewriter-text-portal> inline highlight that sits over the rewriter’s target text.
Component Config — Rewriter Dialog / Bottom Sheet
State shared between<velt-rewriter-dialog> and <velt-rewriter-bottom-sheet> (same data, different presentation).
Type Reference
Types referenced by the variables above:Subcomponents
Each subcomponent below has its own wireframe tag.rewriters-container
The per-document orchestrator. Renders one rewriter portal per active rewriter annotation.
- Public element:
<velt-rewriters-container> - Wireframe tag:
<velt-rewriters-container-wireframe>
rewriter-text-portal
The inline highlight that sits over the rewriter’s target text.
- Public element:
<velt-rewriter-text-portal> - Wireframe tag:
<velt-rewriter-text-portal-wireframe>
rewriter-dialog
The desktop popover with rewrite options.
- Public element:
<velt-rewriter-dialog> - Wireframe tag:
<velt-rewriter-dialog-wireframe>
rewriter-bottom-sheet
The mobile bottom-sheet variant — same data as rewriter-dialog, mobile UX.
- Public element:
<velt-rewriter-bottom-sheet> - Wireframe tag:
<velt-rewriter-bottom-sheet-wireframe>
Related
- Template Variables — overview of the
velt-data/velt-if/velt-classsystem.

