Prompt Enhance Button
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 intera.

- Library
- LocalMode
- Framework
- React
- Type
- component
- License
- MIT
- Dependencies
- lucide-react
- Install
npx shadcn add @localmode/ui/ui/input-controls/prompt-enhance-button- Files
apps/ui/registry/localmode/input-controls/prompt-enhance-button/prompt-enhance-button.tsxapps/ui/src/lib/utils.ts
- Source
- https://github.com/LocalMode-AI/LocalMode
Categories
- Action Components
- React Action Components
- Tailwind CSS Action Components
- Button Components
- React Button Components
- Tailwind CSS Button Components