component-bubble
Skill233 starsChanged 7 months agoMITView on GitHub
Develop and extend Bubble components (AIBubble, UserBubble, Bubble list) for AI chat messages in @ant-design/agentic-ui. Use when building chat bubbles, message content, streaming display, thought chain in bubble, or voice/copy actions. Triggers on bubble, chat message, AIBubble, UserBubble, message list.
Files
Bubble 组件开发
聊天气泡相关组件的开发与扩展,包括 AI 消息气泡、用户消息气泡和气泡列表。
源码位置
- 主入口与导出:
src/Bubble/index.tsx - AI 气泡:
src/Bubble/AIBubble - 用户气泡:
src/Bubble/UserBubble - 通用容器:
src/Bubble/Bubble.tsx - 列表:
src/Bubble/List - 类型:
src/Bubble/type.ts、src/Bubble/types/
主要导出
AIBubble, UserBubble, Bubble, runRender
PureAIBubble, PureUserBubble, PureBubble, PureBubbleList
BubbleConfigProvide 及相关 context开发规范
- 样式使用
@ant-design/cssinjs的createStyles,颜色/间距使用 token。 - 事件回调使用
on前缀(如onClick、onCopy)。 - 支持
classNames、styles做 Semantic 样式扩展。 - 参考项目根目录
AGENTS.md的命名与 API 规范。
常用能力
- AIBubble:流式内容、思维链折叠、状态(success/error/loading)、工具调用展示。
- UserBubble:用户头像、多模态内容、操作按钮。
- List:气泡列表、自动滚动、空状态。
开发或修改气泡相关功能时,优先查阅上述源码与 AGENTS.md,并保持与现有 API 兼容。
Other versions1 project uses a version of this.
Word for word · 1
- antdigital-ai/agentic-ui★ 233100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/AGENTS.mdcCursor rule
- .cursor/rules/clean-code.mdcCursor rule
- .cursor/rules/codequality.mdcCursor rule
- .cursor/rules/playwright.mdcCursor rule
- .cursor/rules/react.mdcCursor rule
- .cursor/rules/test.mdcCursor rule
- llms.txtllms.txt
- agentic-ui-developmentSkill
- agentic-ui-usageSkill
- component-agentic-layoutSkill
- component-agent-run-barSkill
- component-ai-labelSkill
- component-answer-alertSkill
- component-chat-boot-pageSkill
- component-chat-layoutSkill
- component-historySkill
- component-markdown-editorSkill
- component-markdown-input-fieldSkill
- component-pluginsSkill
- component-quote-backtoSkill
- component-schemaSkill
- component-sharedSkill
- component-task-listSkill
- component-thought-chainSkill
- component-tool-useSkill
- component-welcome-messageSkill
- component-workspaceSkill
- gh-create-prSkill
- markdown-syntax-guideSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

