Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA complete AI chat screen built around a premium composer: an auto-growing textarea with a focus gradient edge, attachment chips with image thumbnails that accept real files, a model picker, Search and Reason toggles, a slash command menu with keyboard navigation that turns the command into a token, and a dictation button that shows a live waveform and types the transcript. Sending runs a demo exchange with a shimmering thinking label, a streamed markdown answer with a pulsing cursor, a stop button with a moving sheen and response actions. Autoplays a sample prompt when it scrolls into view, works in light and dark, and streams instantly under reduced motion.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { AiPromptComposer } from "@/components/hyperblur-pro/ai-prompt-composer"
<AiPromptComposer theme="dark" accent="#8b5cf6" userName="Maya" />| Prop | Type | Default | Description |
|---|---|---|---|
| userName | string | "Maya" | Name in the greeting. |
| placeholder | string | "Ask anything, or type / for commands" | Textarea placeholder. |
| models | { id: string; name: string; description: string; badge?: string }[] | 3 sample models | Options in the model picker. |
| commands | { name: string; description: string }[] | 5 sample commands | Slash commands shown when the message starts with /. |
| suggestions | string[] | 4 sample prompts | Prompt chips on the empty screen. |
| answer | string | sample launch plan | Markdown streamed as the demo reply. Supports ## headings, - bullets, **bold** and `code`. |
| demoPrompt | string | "Turn the deck and survey into a launch plan for Thursday" | Prompt typed and sent by the autoplay demo. |
| attachmentImage | string | Unsplash dashboard photo | Thumbnail of the sample image attachment. |
| accent | string | "#8b5cf6" | Accent for focus edge, tokens, toggles and waveform. |
| theme | "dark" | "light" | "dark" | Color scheme. |
| autoplay | boolean | true | Type and send the demo prompt once when the screen is first visible, until the user interacts. |
| streamSpeed | number | 1 | Speed multiplier of the streamed answer. |
Source code is included in Pro and above