Mobile Bottom Button
Tombol lebar penuh di atas bottom nav, khusus mobile.
Kapan dipakai: Aksi utama pada form di mobile, mis. Simpan. Hanya tampil di bawah breakpoint md, jadi pilih toggle Mobile pada preview.
12:055G ▮▮▮
MacBook Air
Kode
<x-mobile-bottom-btn type="submit" form="userForm">
<x-slot:icon>save</x-slot:icon>
Simpan
</x-mobile-bottom-btn>
File yang dibawa ke project
resources/views/components/mobile-bottom-btn.blade.php
Props
| Nama | Tipe | Default | Keterangan |
|---|---|---|---|
icon (slot) | slot | - | Nama Material Symbols, opsional |
type | string | button | Tipe tombol; atribut lain diteruskan ke <button> |