- What does filament-mobile-preset do?
- It is a Composer package that provides mobile-first defaults for Laravel Filament panels. Based on its overview, it focuses on bottom navigation, stacked tables, thumb-reachable actions, slide-over modals, and larger touch targets. It is intended to make admin panels more usable on phones without rebuilding every screen.
- How do I install filament-mobile-preset in a Laravel Filament app?
- Install it with Composer using composer require hammadzafar05/filament-mobile-preset. Then follow the package README for the exact Filament panel registration or preset activation step, since the provided context does not include a full install snippet. After that, clear cached config and views as you would for any Laravel package.
- Which Laravel and Filament versions are supported?
- The provided context does not specify Laravel or Filament version constraints. Check the package composer.json and README for the supported Laravel and Filament versions before installing. If your app uses an older Filament major version, verify compatibility first because panel APIs can change between releases.
- Does filament-mobile-preset replace Filament's default theme or panel configuration?
- It is described as mobile-first defaults, so it likely layers opinionated mobile behavior on top of Filament rather than replacing Filament entirely. The exact override behavior depends on how the preset is registered in your panel provider. Review the README and test a non-production panel before applying it broadly.
- How does the bottom navigation work and can I disable it?
- The package advertises bottom navigation for Filament panels, which puts primary navigation within thumb reach on mobile. The provided context does not document a specific enable or disable flag, so check the README or config for panel-level options. You can typically scope it by registering the preset only on the panels where you want mobile navigation.
- How do stacked tables behave on mobile?
- Stacked tables are listed as a mobile-first feature, meaning table rows are presented in a more vertical, card-like layout on small screens. This helps avoid horizontal scrolling for wide Filament resource tables. The exact breakpoint and rendering behavior should be confirmed in the package docs or by testing on a device.
- Are touch targets and modals responsive with this preset?
- Yes, the package overview calls out larger touch targets, thumb-reachable actions, and slide-over modals as mobile defaults. These changes are aimed at making Filament actions easier to tap and forms easier to use on phones. Test your most complex forms and tables on real devices to confirm the behavior fits your UI.
- Can I use filament-mobile-preset on only one Filament panel?
- Because Filament presets are usually applied at the panel level, you can likely register it only on the panel that needs mobile defaults. The context does not list customization hooks, so check the README for config options or publishable assets. Start with one panel and expand after verifying navigation and table behavior.
- Is filament-mobile-preset production-ready and how should I test it?
- The package is a UI preset, so production readiness depends on testing your specific Filament resources, forms, and modals on mobile viewports. Run through navigation, table actions, and slide-over forms in a staging environment before deploying. Also confirm that your Laravel and Filament versions match the package constraints.
- Is filament-mobile-preset actively maintained and what are the alternatives?
- Alternatives include building custom Filament theme CSS, using Filament built-in responsive utilities, or adopting other panel presets. The provided context does not include maintenance status, release history, or repository details for hammadzafar05/filament-mobile-preset. Check Packagist and the repository for recent commits and issue activity before committing to it.