هل تعلم؟dyk.si

نقاط الصفحات Page Control (Dots Indicator)

نقاط صغيرة أسفل عارض الشرائح، كل نقطة صفحة، والممتلئة هي الحالية.

يُعرف أيضاً باسم: Dots Indicator

aria-roledescription="carousel"

متى تستخدمه

تحت سلايدر صور أو شاشات التعريف بالتطبيق.

خطأ شائع

لأكثر من ٧ صفحات تصبح النقاط بلا معنى.

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

Give each dot a tap target of at least 24px, even if it looks smaller.

اسمه في الكود

HTML/CSSaria-roledescription="carousel"
ReactCarousel dots (custom)
Jetpack ComposeHorizontalPager + indicator Row
SwiftUITabView().tabViewStyle(.page)

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

Add a Page Control (Dots Indicator) to this screen. What it is: Small dots under a carousel; each is a page and the filled one is current. Implement with: aria-roledescription="carousel" (HTML/CSS). Accessibility: Give each dot a tap target of at least 24px, even if it looks smaller. When to use it: Under an image carousel or onboarding screens. Avoid: Past seven pages, the dots stop being useful. Reuse the project's existing design tokens, spacing and component conventions.

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

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