بنية Switch · الاستخدام البسيط يعتمد aria_label فقط؛ أضف <:label> للنص الظاهر (الأخطاء في صفحة النموذج). Hex doc Phoenix الحد الأدنى Preview Heex Enable notifications Copy Copied <.switch class="switch" aria_label="Enable notifications" /> مع label Preview Heex Enable Copy Copied <.switch class="switch"> <:label>Enable</:label> </.switch>