sagautam5/filament-range-slider

dev-master 2025-01-26 16:29 UTC

This package is auto-updated.

Last update: 2025-01-26 16:30:02 UTC


README

A plugin to add range slider field in filament forms.

Installation

You can install the package via composer:

composer require sagautam5/filament-range-slider

Usage

use Sagautam5\FilamentRangeSlider\Forms\Components\RangeSlider;
use Sagautam5\FilamentRangeSlider\Enums\RangeSliderSize;

RangeSlider::make('length')
    ->maxValue(50)
    ->minValue(0)
    ->step(2)
    ->accentColor('#ff2353')
    ->size(RangeSliderSize::MEDIUM)
    ->default(25);

Credits

Security

If you discover a security vulnerability within this package, please send an e-mail to sagautam5@gmail.com, All security vulnerabilities will be promptly addressed.

🤝 Contributing

Please see CONTRIBUTING for details.

📄 License

The MIT License (MIT). Please see License File for more information.