مثال على استخدام المكونات

'success', 'title' => 'نجح العمل!', 'message' => 'تم حفظ البيانات بنجاح', 'icon' => 'fas fa-check-circle', 'dismissible' => true ]); ?> 'عنوان البطاقة', 'subtitle' => 'العنوان الفرعي', 'content' => 'محتوى البطاقة هنا...', 'footer' => component('button', [ 'text' => 'عرض المزيد', 'variant' => 'primary', 'icon' => 'fas fa-eye' ]) ]); ?> ['الاسم', 'البريد الإلكتروني', 'الحالة'], 'rows' => [ ['أحمد محمد', 'ahmed@example.com', component('badge', ['text' => 'نشط', 'variant' => 'success'])], ['فاطمة علي', 'fatima@example.com', component('badge', ['text' => 'غير نشط', 'variant' => 'danger'])], ], 'striped' => true, 'hover' => true, 'responsive' => true ]); ?> 'حفظ', 'variant' => 'success', 'icon' => 'fas fa-save', 'type' => 'submit', 'attributes_array' => ['id' => 'save-btn', 'data-action' => 'save'] ]); ?>