دائرة التحميل Spinner (Indeterminate Progress)
دائرة تدور، ومعناها «انتظر» دون أن تعرف كم تبقّى.
يُعرف أيضاً باسم: Indeterminate Progress
role="progressbar" (no value)متى تستخدمه
لانتظار قصير لا تعرف مدته.
خطأ شائع
لعمل طويل يمكنك قياسه، استخدم Progress Bar.
إمكانية الوصول
Give it a label such as "Loading results".
اسمه في الكود
| HTML/CSS | role="progressbar" (no value) |
|---|---|
| React | <Spinner> |
| Jetpack Compose | CircularProgressIndicator() |
| SwiftUI | ProgressView() |
برومبت جاهز لوكيل البرمجة
Add a Spinner (Indeterminate Progress) to this screen.
What it is: A spinning circle that means "wait" without saying how long.
Implement with: role="progressbar" (no value) (HTML/CSS).
Accessibility: Give it a label such as "Loading results".
When to use it: For short waits of unknown length.
Avoid: For long, measurable work, use a progress bar.
Reuse the project's existing design tokens, spacing and component conventions.
أو ركّب صفحة كاملة من هذا العنصر وغيره →
البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.