ورقة الإجراءات Action Sheet
قائمة خيارات تظهر من أسفل شاشة الآيفون، وفي آخرها زر «إلغاء» منفصل.
<dialog> (custom)متى تستخدمه
لاختيار عملية واحدة من ٢ إلى ٦ خيارات على الهاتف.
خطأ شائع
لا تضع فيها محتوى أو نماذج.
إمكانية الوصول
Put destructive choices in red and keep Cancel separate.
اسمه في الكود
| HTML/CSS | <dialog> (custom) |
|---|---|
| React | ActionSheet (custom) |
| Jetpack Compose | ModalBottomSheet |
| SwiftUI | .confirmationDialog |
برومبت جاهز لوكيل البرمجة
Add a Action Sheet to this screen.
What it is: An iOS-style list of choices that rises from the bottom with a separate Cancel button.
Implement with: <dialog> (custom) (HTML/CSS).
Accessibility: Put destructive choices in red and keep Cancel separate.
When to use it: For picking one of two to six actions on mobile.
Avoid: Don’t put content or forms inside it.
Reuse the project's existing design tokens, spacing and component conventions.
أو ركّب صفحة كاملة من هذا العنصر وغيره →
البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.