منتقي التاريخ Date Picker
تقويم صغير يظهر عند النقر على حقل التاريخ، تختار منه يوماً أو فترة.
<input type="date">متى تستخدمه
للحجوزات والمواعيد والتقارير لفترة معيّنة.
خطأ شائع
لتاريخ الميلاد، الكتابة المباشرة أسرع من التقليب في التقويم.
إمكانية الوصول
Always allow typing the date too; a calendar alone is slow with a keyboard.
اسمه في الكود
| HTML/CSS | <input type="date"> |
|---|---|
| React | <Calendar> + <Popover> |
| Jetpack Compose | DatePicker / DateRangePicker |
| SwiftUI | DatePicker |
برومبت جاهز لوكيل البرمجة
Add a Date Picker to this screen.
What it is: A small calendar that opens from a date field so you can pick a day or a range.
Implement with: <input type="date"> (HTML/CSS).
Accessibility: Always allow typing the date too; a calendar alone is slow with a keyboard.
When to use it: For bookings, appointments and date-range reports.
Avoid: For birthdays, typing the date beats paging through a calendar.
Reuse the project's existing design tokens, spacing and component conventions.
أو ركّب صفحة كاملة من هذا العنصر وغيره →
البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.