visualbuilder/filament-lottie
Add Lottie animations to Filament 5 panels via a schema component and a Blade component. Bundles @lottiefiles/dotlottie-wc, auto-registers assets (optional), supports defaults via config/plugin, and offers autoplay/loop/speed/size/triggers and reduced-motion support.
prefers-reduced-motion and provide fallback content, aligning with WCAG/ADA guidelines.auto_register_assets)..lottie files from After Effects/Figma).4.x branch or seek alternatives)."This package lets us add polished, lightweight animations to our Filament admin panels—like a ‘thumbs-up’ on form submissions or a loading spinner for data-heavy actions—without hiring motion designers or bloating our codebase. It’s plug-and-play: we drop in pre-made Lottie files (exported from Figma/After Effects), configure them in PHP, and instantly improve user feedback and engagement. Since it’s built for Filament, it integrates seamlessly with our existing workflows and respects accessibility standards. Pilot projects could start in 2 weeks with minimal dev lift."
Key Outcomes: ✅ Faster onboarding (guided animations for new users). ✅ Higher retention (subtle feedback loops reduce friction). ✅ Brand cohesion (consistent motion design across tools). ✅ Low risk (MIT license, minimal maintenance).
"This is a Schema component + Blade directive for rendering Lottie animations in Filament, backed by @lottiefiles/dotlottie-wc. It’s optimized for Filament 5/Livewire 4 and offers:
mount, click, hover, or custom events.prefers-reduced-motion and supports fallbacks.Implementation:
composer require visualbuilder/filament-lottie.Lottie::make('success')
->src('lottie/success.json')
->trigger('click')
->size('60px')
<x-lottie src="lottie/loading.json" autoplay loop />
config/lottie.php or panel plugins.Trade-offs:
Next Steps:
How can I help you explore Laravel packages today?