Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Lottie Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enhancing UX with Micro-Interactions: Integrate lightweight, high-performance Lottie animations into Filament admin panels to improve user engagement, onboarding, and feedback loops (e.g., success/error states, loading indicators, or guided tours).
  • Brand Consistency: Standardize motion design across internal tools by embedding branded Lottie animations (e.g., logos, transitions, or micro-animations) in Filament dashboards.
  • Build vs. Buy: Avoid custom development of animation players or third-party SaaS tools (e.g., After Effects exports + manual integration) by leveraging this pre-built, Filament-native solution.
  • Roadmap Priorities:
    • Phase 1: Pilot animations in low-risk areas (e.g., form submissions, empty states).
    • Phase 2: Scale to critical workflows (e.g., data visualization triggers, user guidance).
    • Phase 3: Extend to customer-facing Filament panels (if applicable).
  • Accessibility Compliance: Ensure animations respect prefers-reduced-motion and provide fallback content, aligning with WCAG/ADA guidelines.
  • Performance Optimization: Reduce bundle size by auto-registering assets only on pages using Lottie (configurable via auto_register_assets).

When to Consider This Package

  • Avoid if:
    • Your team lacks Lottie animation assets (requires pre-exported .lottie files from After Effects/Figma).
    • You need complex animations (e.g., interactive or physics-based) beyond Lottie’s capabilities (consider WebGL/Three.js alternatives).
    • Your project uses Filament 4 or Livewire 3 (use the 4.x branch or seek alternatives).
    • Performance is critical in asset-heavy panels (test bundle impact; Lottie files can bloat JS payloads).
    • You require advanced analytics on animation triggers/completion (may need custom event listeners).
  • Look Elsewhere if:
    • You need server-side rendering of animations (this package relies on client-side JS).
    • Your stack excludes Filament/Livewire (e.g., pure Laravel Blade or Vue/React frontends).
    • You prioritize offline-first support (Lottie files must be pre-loaded).

How to Pitch It (Stakeholders)

For Executives:

"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).


For Engineering:

"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:

  • Zero JS boilerplate: Auto-registers assets or manual opt-in.
  • Configurable triggers: Play on mount, click, hover, or custom events.
  • Accessibility: Respects prefers-reduced-motion and supports fallbacks.
  • Performance: Lightweight (~50KB gzipped for the player; Lottie files are separate).

Implementation:

  1. Install via Composer: composer require visualbuilder/filament-lottie.
  2. Use in Schema:
    Lottie::make('success')
        ->src('lottie/success.json')
        ->trigger('click')
        ->size('60px')
    
  3. Or in Blade:
    <x-lottie src="lottie/loading.json" autoplay loop />
    
  4. Customize defaults via config/lottie.php or panel plugins.

Trade-offs:

  • Requires pre-exported Lottie files (not a runtime animation tool).
  • Bundle impact if overused (test with Lighthouse).
  • Limited to Filament/Livewire contexts.

Next Steps:

  • Audit existing Lottie assets or create a simple Figma/After Effects template.
  • Test performance in a staging Filament panel.
  • Align with design on animation use cases (e.g., success states, empty lists)."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity