NexoreUI
2.0
InstallationComponentsIconsTemplatesNewNexore MakePricing
Create Project
GitHub
NexoreUI
2.0
Navigation
InstallationComponentsIconsTemplatesNexore MakeCreate Project
InstallationComponents OverviewIcons
Categories (65)
ButtonInputCheckboxSelectSwitchSliderRatingFile Upload
CardAccordionTabsTableStepperScroll AreaNavigationDockData DisplayChartsCommerce
Modal (Dialog)AlertBadgeAvatarTooltipProgressSkeletonLoadersToasterSocial
Aurora Border CardAurora Search PillAI Prompt InputCommandInteractive Code BlockPro AI
Media ShowcaseOverlays & DrawersPro ButtonsPro DashboardsPro E-CommercePro FeedbackPro FormsPro InputsPro LayoutsPro ListsPro MarketingPro NavigationPro TablesSpecial FormsUltra Components
OverviewPro CardsPro ObjectsSoundPulseSilkUnveilNode Flow Graph
NexoreUI v2.0Studio
DocsAI Prompt Input

AI Prompt Input

Ultra-premium conversational AI prompt bar with model selection, attachments, and voice pulse.

PreviousInteractive Code Block
NextCommand
On This Page
Quick ActionsProject StudioNewNexore Make (AI)Source on GitHub

AI Prompt Input

New

An ultra-premium prompt input bar for next-generation AI chat, copilot, and agent workflows. Features auto-expanding textarea, model selector dropdown, attachment chips, voice recording pulse, and morphing submit controls.

Interactive Playground

Live CanvasInteractive
Controls(6)
variant
select

Visual container preset with glow halo or frosted backdrop.

size
select

Dimension scale and text size.

placeholder
text

Text input placeholder.

isLoading
boolean
Toggle state:

Toggles generation state (morphs send to stop button).

webSearchEnabled
boolean
Toggle state:

Enables web search pill highlight.

reasoningEnabled
boolean
Toggle state:

Enables Deep Think pill highlight.

Generated JSX
Source
import { AiPromptInput } from "nexoreui"

<AiPromptInput />

API Reference

Complete list of properties and callbacks available for AiPromptInput.

API Reference (Props)

PropTypeDefaultDescription
variant"default" | "glow" | "aurora" | "glass" | "minimal""default"Visual container styling with glow halo, Aurora border, or frosted glassmorphism.
size"sm" | "md" | "lg""md"Overall scale, padding, and font size of the input bar.
placeholderstring"Ask anything or describe what you want to build..."Custom placeholder text shown inside the textarea.
isLoadingbooleanfalseToggles the active state (switches submit arrow to a square stop button).
isListeningbooleanfalseActivates the microphone pulsing audio waveform state.
webSearchEnabledbooleanfalseWhether the live web search toggle button is highlighted.
reasoningEnabledbooleanfalseWhether the Deep Reasoning / Deep Think mode toggle is active.
valuestring—Controlled prompt string value.
onSubmit(prompt: string, options) => void—Callback fired when the user submits their prompt (via Enter key or submit button).

Real-World Examples

Production-ready implementation patterns for modern AI applications.

Multimodal Copilot Bar

Full-featured agent bar with file attachments, search toggle, and voice recorder.

design_system.pdf(2.4 MB)
import { AiPromptInput } from "nexoreui";

export default function AgentChat() {
  const [text, setText] = useState("");
  const [loading, setLoading] = useState(false);

  return (
    <AiPromptInput
      variant="glow"
      value={text}
      onChange={setText}
      onSubmit={(prompt) => console.log(prompt)}
      isLoading={loading}
      webSearchEnabled
      onWebSearchToggle={() => {}}
      onAttachClick={() => {}}
      onVoiceToggle={() => {}}
    />
  );
}

Floating Aurora Prompt Bar

Compact glowing prompt field tailored for centered landing hero sections and command hubs.

import { AiPromptInput } from "nexoreui";

export default function HeroPrompt() {
  return (
    <AiPromptInput
      variant="aurora"
      size="lg"
      placeholder="What would you like to build with AI today?"
      onSubmit={(prompt) => console.log(prompt)}
      onAttachClick={() => {}}
      onVoiceToggle={() => {}}
    />
  );
}