هل تعلم؟dyk.si

فقاعة المحادثة Chat Bubble (Message Bubble)

الشكل المدوّر حول كل رسالة، رسائلك في جانب ورسائل الطرف الآخر في الجانب الآخر.

يُعرف أيضاً باسم: Message Bubble

<li> in role="log"

متى تستخدمه

لأي محادثة أو دعم فني.

خطأ شائع

لا تعتمد على اللون وحده لتمييز المرسل.

إمكانية الوصول

Put messages in a role=log container so new ones are announced.

اسمه في الكود

HTML/CSS<li> in role="log"
React<ChatBubble> (custom)
Jetpack ComposeSurface(shape = RoundedCornerShape)
SwiftUIText + .background(RoundedRectangle)

برومبت جاهز لوكيل البرمجة

Add a Chat Bubble (Message Bubble) to this screen. What it is: The rounded shape around each message: yours on one side, theirs on the other. Implement with: <li> in role="log" (HTML/CSS). Accessibility: Put messages in a role=log container so new ones are announced. When to use it: For any conversation or support chat. Avoid: Don’t rely on color alone to show who sent what. Reuse the project's existing design tokens, spacing and component conventions.

أو ركّب صفحة كاملة من هذا العنصر وغيره →

البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.