هيكل التحميل Skeleton Screen
أشكال رمادية تلمع في مكان المحتوى حتى يكتمل تحميله، فتعطيك شكل الصفحة قبل وصول البيانات.
aria-busy="true"متى تستخدمه
عندما يكون شكل الصفحة معروفاً والبيانات قيد التحميل.
خطأ شائع
لانتظار مجهول المدة أو قصير جداً، استخدم Spinner.
إمكانية الوصول
Set aria-busy on the region and stop the shimmer under prefers-reduced-motion.
اسمه في الكود
| HTML/CSS | aria-busy="true" |
|---|---|
| React | <Skeleton> |
| Jetpack Compose | Custom shimmer Modifier |
| SwiftUI | .redacted(reason: .placeholder) |
برومبت جاهز لوكيل البرمجة
Add a Skeleton Screen to this screen.
What it is: Gray shimmering shapes that hold the place of content while it loads.
Implement with: aria-busy="true" (HTML/CSS).
Accessibility: Set aria-busy on the region and stop the shimmer under prefers-reduced-motion.
When to use it: When the layout is known and data is loading.
Avoid: For unknown or very short waits, use a spinner.
Reuse the project's existing design tokens, spacing and component conventions.
أو ركّب صفحة كاملة من هذا العنصر وغيره →
البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.