خطوات المعالج Steps (Progress Stepper)
دوائر مرقّمة في الأعلى، كل منها مرحلة من عملية طويلة مثل الدفع أو التسجيل.
يُعرف أيضاً باسم: Progress Stepper
aria-current="step"متى تستخدمه
للعمليات الطويلة: الدفع، التسجيل، الإعداد الأولي.
خطأ شائع
لا حاجة إليه لأقل من ٣ مراحل.
إمكانية الوصول
Mark the current stage with aria-current="step" and say "Step 2 of 4".
اسمه في الكود
| HTML/CSS | aria-current="step" |
|---|---|
| React | <Stepper> — MUI |
| Jetpack Compose | Custom Row (no built-in) |
| SwiftUI | Custom HStack |
برومبت جاهز لوكيل البرمجة
Add a Steps (Progress Stepper) to this screen.
What it is: Numbered circles across the top, one per stage of a long flow like checkout.
Implement with: aria-current="step" (HTML/CSS).
Accessibility: Mark the current stage with aria-current="step" and say "Step 2 of 4".
When to use it: For long flows: checkout, sign-up, setup.
Avoid: Not needed for fewer than three stages.
Reuse the project's existing design tokens, spacing and component conventions.
أو ركّب صفحة كاملة من هذا العنصر وغيره →
البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.