هل تعلم؟dyk.si

خانة النص الطويل Textarea (Resize Handle)

حقل كتابة من أكثر من سطر، وغالباً ما تجد في زاويته ثلاثة خطوط مائلة تسحبها لتكبيره.

يُعرف أيضاً باسم: Resize Handle

<textarea> + resize: vertical

متى تستخدمه

للملاحظات والوصف والرسائل.

خطأ شائع

لا تعطّل تغيير الحجم إذا كان الحقل صغيراً.

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

Give it a label and let it grow instead of trapping text in a tiny box.

اسمه في الكود

HTML/CSS<textarea> + resize: vertical
React<Textarea>
Jetpack ComposeOutlinedTextField(minLines, maxLines)
SwiftUITextEditor / TextField(axis: .vertical)

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

Add a Textarea (Resize Handle) to this screen. What it is: A multi-line text box, often with three diagonal lines in the corner you drag to enlarge it. Implement with: <textarea> + resize: vertical (HTML/CSS). Accessibility: Give it a label and let it grow instead of trapping text in a tiny box. When to use it: For notes, descriptions and messages. Avoid: Don’t disable resizing on a small box. Reuse the project's existing design tokens, spacing and component conventions.

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

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