هل تعلم؟dyk.si

زر «تحميل المزيد» Load More Button

زر أسفل القائمة يجلب دفعة إضافية من النتائج عند النقر عليه.

<button> + aria-live

متى تستخدمه

حل وسط بين الترقيم والتمرير اللانهائي.

خطأ شائع

لا تدعه يعيدك إلى أول الصفحة بعد التحميل.

إمكانية الوصول

Move focus to the first new item after loading.

اسمه في الكود

HTML/CSS<button> + aria-live
React<Button onClick={fetchNext}>
Jetpack ComposeLazyColumn + Button item
SwiftUIButton in List footer

برومبت جاهز لوكيل البرمجة

Add a Load More Button to this screen. What it is: A button under a list that fetches the next batch of results when pressed. Implement with: <button> + aria-live (HTML/CSS). Accessibility: Move focus to the first new item after loading. When to use it: A middle ground between pagination and infinite scroll. Avoid: Don’t jump back to the top after loading. Reuse the project's existing design tokens, spacing and component conventions.

أو ركّب صفحة كاملة من هذا العنصر وغيره →

البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.

يُخلَط بينه وبين عناصر أخرى؟

⇄ Pagination أم Load More أم Infinite Scroll؟