L
LocalMode

Prompt Enhance Button · LocalMode

A one-click 'enhance my prompt' control that hands the user's draft to a local model (via an onEnhance callback wired to useGenerateText) and applies the rewritten prompt — fully offline — with an optional few-shot example editor for interactive prompt tuning. Presentational + callback-driven.

npx shadcn@latest add https://localmode.ai/r/ui/input-controls/prompt-enhance-button.json
Preview Prompt Enhance Button on LocalMode's site (opens in a new tab)
Loading the source for ui/input-controls/prompt-enhance-button…

ui/input-controls/prompt-enhance-button