AI Chat Inputs
5 production-ready AI prompt composer patterns — Floating Pill, Editorial Card, Research Omnibox, IDE Agent, and Voice-First — with copyable HTML and interactive states.
1. Floating Pill Composer
Soft Glow + Tool ChipsHello, Alex — what should we build today?
Floating 28px pill composer with subtle focus glow, mode chips, and voice input.
<form class="rounded-[28px] border border-border bg-card p-3.5 shadow-sm focus-within:border-primary/60 focus-within:ring-4 focus-within:ring-primary/10">
<textarea rows="2" placeholder="Ask Kova anything…" class="w-full resize-none border-0 bg-transparent px-2.5 pt-1 text-sm focus:outline-none"></textarea>
<div class="mt-2.5 flex flex-wrap items-center justify-between gap-2">
<div class="flex items-center gap-1.5">
<button type="button" class="kt-btn kt-btn-sm kt-btn-icon kt-btn-ghost rounded-full"><i class="ti ti-plus"></i></button>
<button type="button" class="rounded-full border border-border px-3 py-1.5 text-xs font-medium">Deep Research</button>
</div>
<button type="submit" class="kt-btn kt-btn-sm kt-btn-icon kt-btn-primary rounded-full"><i class="ti ti-send"></i></button>
</div>
</form>
2. Editorial Card Composer
Quiet Card + Extended ThinkingGood evening, Alex. How can I help?
Quiet editorial card with Extended Thinking toggle, writing style picker, and tactile square send button.
<form class="rounded-2xl border border-border bg-card shadow-xs">
<div class="px-4 pt-3.5 pb-2">
<textarea rows="3" placeholder="How can I help you today?" class="w-full resize-none border-0 bg-transparent text-sm focus:outline-none"></textarea>
</div>
<div class="flex items-center justify-between border-t border-border/60 px-3 py-2.5">
<button type="button" class="rounded-lg border border-primary/40 bg-primary/10 px-2.5 py-1.5 text-xs font-medium text-primary">Extended Thinking</button>
<button type="submit" class="inline-flex size-8 items-center justify-center rounded-lg bg-primary text-primary-foreground"><i class="ti ti-arrow-up"></i></button>
</div>
</form>
3. Research Omnibox
Focus Sources + Pro Switch<form class="rounded-2xl border border-border bg-secondary/40 p-3.5 focus-within:border-info focus-within:bg-card">
<textarea rows="2" placeholder="Ask anything — grounded with live citations…" class="w-full resize-none border-0 bg-transparent text-sm focus:outline-none"></textarea>
<div class="mt-3 flex items-center justify-between">
<span class="badge-info">Web</span>
<button type="submit" class="inline-flex size-8 items-center justify-center rounded-full bg-info text-white"><i class="ti ti-arrow-right"></i></button>
</div>
</form>
4. IDE Agent Style
@Context Chips + Agent Mode<form class="rounded-xl border border-white/10 bg-[#181A20] p-3 text-[#E6EDF3]">
<div class="mb-2 flex gap-1.5 font-mono text-[11px]">
<span class="rounded-md bg-white/5 px-2 py-0.5 text-[#93C5FD]">@webhooks.js</span>
</div>
<textarea rows="2" class="w-full bg-transparent font-mono text-xs focus:outline-none"></textarea>
</form>
5. Voice-First Minimal Pill
Compact Bar + Live Voice Mode<form class="flex items-center gap-2 rounded-full border border-border bg-card px-3 py-2 shadow-sm">
<button type="button" class="kt-btn kt-btn-sm kt-btn-icon kt-btn-ghost rounded-full"><i class="ti ti-plus"></i></button>
<input type="text" placeholder="Message AI…" class="flex-1 border-0 bg-transparent px-2 text-sm focus:outline-none">
<button type="button" class="inline-flex items-center gap-1.5 rounded-full bg-heading px-3 py-1.5 text-xs font-semibold text-card">Voice</button>
<button type="submit" class="kt-btn kt-btn-sm kt-btn-icon kt-btn-primary rounded-full"><i class="ti ti-arrow-up"></i></button>
</form>