chatbot-ui-patterns
Design chatbot user interfaces — message layouts, suggestion chips, rich cards, feedback controls, and accessibility. Use when designing the visual and interaction layer of conversational UIs.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- chatbot-ui-patterns
- category
- ai-research
- description
- Design chatbot user interfaces — message layouts, suggestion chips, rich cards, feedback controls, and accessibility. Use when designing the visual and interaction layer of conversational UIs.
03 SKILL.md 正文
Chatbot UI Patterns
The interface is the product for most chatbot users. These patterns cover what works: message design, guidance controls, rich content, feedback loops, and the accessibility details that separate professional bots from demos.
Overview
Good chat UI reduces the user's cognitive load: clear message hierarchy, suggested next actions, rich rendering of structured content, and obvious paths when things go wrong. The patterns below are interface conventions proven across consumer and enterprise bots — layout, components, and micro-interactions that make conversations feel effortless.
When to use
- Designing or redesigning a chatbot interface from scratch.
- Auditing an existing bot UI for usability issues.
- Adding rich interactions: cards, carousels, forms inside chat.
- Making a bot accessible to keyboard and screen-reader users.
Core concepts
- Message hierarchy: user vs. assistant visually distinct; timestamps subtle; avatars minimal. The conversation should scan like a dialogue, not a wall of bubbles.
- Suggestion chips: tappable follow-ups and common queries above the input. They teach users what the bot can do — the single best onboarding device.
- Rich cards: structured content (products, appointments, results) rendered as cards with actions, not as paragraphs. Carousels for multiple options.
- Progressive disclosure: long answers with expandable sections; tool activity collapsible. Don't overwhelm; let users drill in.
- Feedback controls: thumbs up/down per message, with optional reason. Feeds evals and model improvement — make it one tap.
- Empty and error states: first-run suggestions, graceful "I didn't understand" with alternatives, offline/retry states. Designed, not defaulted.
Practical workflow
- Define the message anatomy: parts (text, cards, chips, citations) and how each renders on desktop and mobile.
- Design the input area: text field, suggestion chips, attachments, voice — only what the bot actually supports.
- Build rich components for your top intents: if users book appointments, design the appointment card first.
- Add feedback on every assistant message; wire it to your eval pipeline.
- Design the failure states: confusion, out-of-scope, errors, escalation — each with a clear next step.
- Accessibility pass: keyboard navigation, screen-reader labels, focus management, color contrast, reduced-motion support.
Chat UI checklist:
[ ] User/assistant visually distinct, scannable
[ ] Suggestion chips teach capabilities
[ ] Top intents have rich (non-text) renderings
[ ] Feedback control on every assistant message
[ ] Designed empty, error, and escalation states
[ ] Keyboard + screen-reader navigable
[ ] Works on small screens without horizontal scroll
Common pitfalls
- Bubbles for everything: long answers as giant bubbles are unreadable. Use structured layouts for structured content.
- No guidance: an empty input box with no hints. Users don't know what to ask — chips and examples fix this.
- Feedback nobody reads: collecting ratings into a void. Wire feedback to evals and review it.
- Desktop-only design: chat is heavily mobile. Design small-screen first.
- Inaccessible by default: divs instead of buttons, no ARIA, focus lost on updates. Accessibility is a design requirement, not a polish step.
- Citations as an afterthought: grounded bots need visible sources. Design citation display into the message anatomy.
04 同仓库更多 Skills
web-scrape
Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open/fetch fails on JS-heavy pages, or when you need clean markdown/structured extraction from a site. Requires FIRECRAWL_API_KEY.
design-taste-frontend
tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
requesting-code-review
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).