هل تعلم؟dyk.si

العدّاد المتصاعد Count-up Number

رقم يبدأ من الصفر ويعدّ تصاعدياً بسرعة حتى يبلغ قيمته، لإبراز إحصائية.

requestAnimationFrame / @property counter

متى تستخدمه

لأرقام الإنجازات في صفحة العرض.

خطأ شائع

لا تستخدمه لأرقام يحتاجها المستخدم فوراً.

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

Render the final number in the HTML; animate only the display.

اسمه في الكود

HTML/CSSrequestAnimationFrame / @property counter
Reactreact-countup
Jetpack ComposeanimateIntAsState
SwiftUI.contentTransition(.numericText())

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

Add a Count-up Number to this screen. What it is: A number that counts quickly from zero to its value to highlight a statistic. Implement with: requestAnimationFrame / @property counter (HTML/CSS). Accessibility: Render the final number in the HTML; animate only the display. When to use it: For achievement numbers on a showcase page. Avoid: Not for numbers people need to read immediately. Reuse the project's existing design tokens, spacing and component conventions.

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

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