هل تعلم؟dyk.si

نقطة الحالة Status Dot (Presence Indicator)

الدائرة الصغيرة الملوّنة على صورة الشخص، تدلّ على أنه متصل أو مشغول أو غائب.

يُعرف أيضاً باسم: Presence Indicator

aria-label="Online"

متى تستخدمه

في تطبيقات المحادثة والفرق.

خطأ شائع

لا تعتمد على الأحمر والأخضر وحدهما.

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

Pair the color with text or a shape; red and green are hard for color-blind users.

اسمه في الكود

HTML/CSSaria-label="Online"
React<Badge variant="dot">
Jetpack ComposeBadge on BadgedBox (custom color)
SwiftUICircle().overlay on avatar

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

Add a Status Dot (Presence Indicator) to this screen. What it is: The tiny colored circle on an avatar saying online, busy or away. Implement with: aria-label="Online" (HTML/CSS). Accessibility: Pair the color with text or a shape; red and green are hard for color-blind users. When to use it: In chat and team apps. Avoid: Don’t rely on red versus green alone. Reuse the project's existing design tokens, spacing and component conventions.

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

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

يُخلَط بينه وبين عناصر أخرى؟

⇄ Badge أم Status Badge أم Status Dot؟