Click Spark plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Click Spark

Community

A lightweight, zero-dependency click spark particle effect for Filament admin panel elements and page clicks.

Tags: Theme Widget
Supported versions:
5.x 4.x
Martin Khachatryan avatar Author: Martin Khachatryan

Package health

Beta

Automated checks of this plugin's Composer package

92 / 100
Security 85
Maintenance 100
Ecosystem 100
15 checks
  • Skipped: GitHub Actions pinned to SHA
  • Skipped: GitLab CI includes pinned to SHA
  • Passed: Open security advisories
  • Passed: Dependabot PR responsiveness — No open Dependabot PRs.
  • Skipped: Renovate MR responsiveness
  • Skipped: Dependabot or Renovate configured
  • Skipped: Dependency update cooldown configured
  • Failed: Provides a security policy View details on Plumb
  • Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
  • Passed: Commit and release recency — Active: last commit 0 days ago; last release 0 days ago.
  • Passed: composer.lock not committed by library composer.lock is absent from the released dist archive.
  • Passed: Dist archive is lean
  • Passed: Current Laravel version supported — Package dependencies resolve together with current Laravel 13.0.
  • Passed: Current PHP version supported — Constraint ^8.2|^8.3|^8.4 supports current PHP 8.5.
  • Skipped: Current Symfony version supported
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Powered by Plumb Last scanned 17 hours ago

Documentation

License PHP Filament

ReactBits-inspired click spark for Filament admin panels. Click a button, icon button, or link and a short burst of particles expands from the cursor.

No Vite, NPM, Tailwind build, or extra JavaScript packages. One Blade view and an HTML5 canvas.


#Installation

composer require martin6363/filament-click-spark

Register the plugin on your panel. That is the only application change required:

use Filament\Panel;
use Martin6363\FilamentClickSpark\FilamentClickSparkPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(FilamentClickSparkPlugin::make());
}

Optionally publish the config file:

php artisan vendor:publish --tag=filament-click-spark-config

#Trigger modes

#Entire panel (empty background included)

FilamentClickSparkPlugin::make()
    ->clickAnywhere(true);

Or:

FilamentClickSparkPlugin::make()
    ->triggerOnMode('anywhere');

#Interactive elements only (default)

FilamentClickSparkPlugin::make()
    ->clickAnywhere(false)
    ->targetSelectors('.fi-btn, .fi-icon-btn, a, button');

Or:

FilamentClickSparkPlugin::make()
    ->triggerOnMode('elements');

#Optional color

By default the sparks use Filament's primary color (--primary-500). Override it:

FilamentClickSparkPlugin::make()
    ->color('#f59e0b');

#Configuration

Published file: config/filament-click-spark.php

return [
    'click_anywhere' => false,
    'target_selectors' => '.fi-btn, .fi-icon-btn, .fi-link, .fi-ac-btn, .fi-dropdown-list-item, .fi-sidebar-item-btn, .fi-section, [role="button"], button, a, input, select, textarea',
];

Fluent methods on the plugin override these defaults per panel.


#License

The MIT License (MIT). See LICENSE.md.