Skip to main content

AI/Chatbot Platform Interface Builder

Design a production-ready AI chatbot platform UI: streaming responses, model selectors, token meters — clean interfaces, no gradient clichés.

Fill in the placeholders

Edit the values, then copy your finished prompt.

Your Prompt
prompt.txt
Design the interface for multi-model AI assistant for development teams, an AI/chatbot platform.

Features: multi-model chat, code generation, file attachments, conversation branching, team sharing
Target users: software engineers and technical writers

**Industry Design Rules (AI/Chatbot Platforms):**
- Pattern: Chat-centric layout with collapsible context sidebar
- Style Priority: Clean, spacious messages with clear human/AI differentiation
- Color Mood: Neutral backgrounds, subtle brand accent on AI responses — NOT purple/pink AI gradients (overdone)
- Typography: System sans-serif for UI, monospace for code blocks within messages
- Key Effects: Streaming text animation (typewriter), skeleton loading for thinking state, smooth scroll-to-bottom
- Anti-Patterns: DO NOT use robot avatars or generic AI imagery. NO "glowing brain" aesthetics. NO cramped message bubbles. DO NOT hide the context/token count from power users.

Generate:
1. **Chat container** — message list with streaming support, code blocks with syntax highlighting and copy button
2. **Input area** — auto-growing textarea, attachment support, model/temperature controls
3. **Conversation sidebar** — history, search, folders, pinned conversations
4. **Context panel** — system prompt editor, knowledge base references, token usage meter
5. **Model selector** — with capability badges, pricing indicators, speed comparisons
6. **Responsive behavior** — mobile drawer navigation, swipe gestures
7. **Next.js + Tailwind + Framer Motion code** for the chat message list with streaming text effect

This interface will be used for hours daily — optimize for long-session comfort.

What this prompt does

This prompt generates a complete, component-by-component UI specification for AI/chatbot platforms — covering the chat container, input controls, conversation sidebar, context panel, and model selector in a single pass. What makes it work is the embedded design ruleset: the template explicitly bans the visual clichés that plague AI products (glowing brains, purple gradients, robot avatars) and instead pushes toward the spacious, neutral aesthetic that actually holds up across a multi-hour session.

The [framework] variable locks the output to runnable code rather than abstract suggestions. When you specify React or Vue, the streaming text effect section becomes real implementation — not pseudocode. The instruction to expose token counts and context window usage to power users is deliberately structural, not decorative. It forces the output to treat information density as a first-class UX concern.

The "optimize for long-session comfort" instruction at the end reweights the entire generation. Spacing, scroll behavior, and message contrast all shift when the AI knows the user will sit with this interface for hours, not seconds.

When to use it

  • Building a white-label ChatGPT-style interface for an enterprise SaaS product where your brand must feel native, not bolted on.
  • Prototyping a developer tool with inline code execution, multi-model comparison, and raw API response views.
  • Designing a customer support chatbot console where agents need full conversation context alongside the live chat window.
  • Creating a document-grounded assistant UI where the context panel shows which source chunks are in play.
  • Scaffolding the front-end for an AI playground targeting ML engineers who need latency, temperature, and token controls visible at all times.
  • Redesigning an existing chatbot UI that has outgrown its original single-page layout and needs a proper sidebar and history system.

Example output

For platform_type = "internal knowledge base assistant", features = "streaming responses, folder-based conversation history, system prompt editor, PDF source citations", target_users = "legal ops teams", framework = "React + Tailwind":

// ChatMessage.tsx — streaming text with source citation chips
export function ChatMessage({ message, isStreaming }: Props) {
  return (
    <div className="flex gap-3 px-4 py-3 group">
      <RoleIndicator role={message.role} />
      <div className="flex-1 space-y-2">
        <StreamingText content={message.content} active={isStreaming} />
        {message.citations?.length > 0 && (
          <div className="flex flex-wrap gap-1 pt-1">
            {message.citations.map(c => (
              <CitationChip key={c.id} source={c.filename} page={c.page} />
            ))}
          </div>
        )}
      </div>
      <TokenCount tokens={message.usage?.total_tokens} className="opacity-0 group-hover:opacity-60" />
    </div>
  );
}

The prompt also specifies the skeleton loader for "thinking" state and the auto-growing textarea as separate components, with mobile drawer behavior for the sidebar.

Pro tips

  • Name the platform type precisely. "internal knowledge base assistant" yields a tighter spec than "AI chatbot" — the more context you give [platform_type], the more the anti-patterns list gets applied correctly to your actual product.
  • Use [features] as a forcing function. If you list "multi-model comparison" here, the prompt will generate a split-pane layout you would not get otherwise. Be deliberate about what you include.
  • Pair with a design token prompt first. Run a color/typography system prompt for your brand before this one, then paste those tokens into the output. The neutral-background rule leaves intentional space for your brand accent — fill it deliberately.
  • Specify [framework] as a stack, not just a library. "React + Tailwind + Zustand" produces state management patterns for the streaming buffer; "React" alone produces generic component shapes.
  • The anti-pattern list is your QA checklist. After generation, scan the output against it manually. If any component description mentions a gradient or an avatar icon that looks like a bot, that is a prompt drift signal — add a negative constraint to your next iteration.

Frequently Asked Questions

Will this prompt generate actual working code or just a design spec?
Both, depending on how you fill [framework]. If you specify a concrete stack like "React + Tailwind", the seventh output section generates runnable component code for the streaming message list. The first six sections are always structured UI specs — component behavior, layout rules, interaction states — which are implementation-ready but not copy-paste code.
The prompt bans purple gradients and robot avatars — what if my brand uses purple?
The rule targets the generic "AI purple" that has no relationship to a brand — think ChatGPT-clone aesthetics. If your brand color is purple, specify it explicitly in [features] or [platform_type] (e.g., "brand accent: #7C3AED"). The template's color guidance will then apply your purple purposefully to AI response accents rather than as gradient wallpaper.
Can I use this for a mobile-only chatbot UI instead of a desktop-first one?
Yes. The prompt already includes a responsive behavior section that covers mobile drawer navigation and swipe gestures. To flip the priority, add "mobile-first" to [target_users] or [features]. This shifts the generated layout to treat the desktop sidebar as secondary rather than primary, which changes component sizing and the default collapsed/expanded states throughout.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

More in Tech & SaaS UI Prompts

Engr Mejba Ahmed

Engr Mejba Ahmed

AI assistant · trained on my work

👋

Hey there!

Quick Actions

WhatsApp Direct line to me

Chat on WhatsApp

+880 1723 741224 · Replies within the hour on working days

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

mejba.13@gmail.com

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support