القسم الرئيسي Hero Section
أول قسم كبير في الصفحة، يضم العنوان الأساسي والجملة التعريفية والزر الأهم.
<section> + <h1>متى تستخدمه
في صفحات الهبوط والصفحة الرئيسية.
خطأ شائع
لا تملأه بصورة ثقيلة تؤخّر التحميل.
إمكانية الوصول
Keep one <h1> here and make the main button a real link or button.
اسمه في الكود
| HTML/CSS | <section> + <h1> |
|---|---|
| React | <Hero> (custom section) |
| Jetpack Compose | n/a (screen-level) |
| SwiftUI | n/a (screen-level) |
برومبت جاهز لوكيل البرمجة
Add a Hero Section to this screen.
What it is: The first big band of a page with the main headline, a short pitch and the key button.
Implement with: <section> + <h1> (HTML/CSS).
Accessibility: Keep one <h1> here and make the main button a real link or button.
When to use it: On landing and home pages.
Avoid: Don’t fill it with a heavy image that slows loading.
Reuse the project's existing design tokens, spacing and component conventions.
أو ركّب صفحة كاملة من هذا العنصر وغيره →
البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.