PHPackages                             mrshanebarron/slider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mrshanebarron/slider

ActiveLibrary

mrshanebarron/slider
====================

Range slider component for Laravel - supports Livewire and Vue

v1.0.2(4mo ago)013MITVuePHP ^8.1

Since Dec 14Pushed 4mo agoCompare

[ Source](https://github.com/mrshanebarron/slider)[ Packagist](https://packagist.org/packages/mrshanebarron/slider)[ RSS](/packages/mrshanebarron-slider/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Slider
======

[](#slider)

A range slider component for Laravel applications. Supports single and range values with customizable styling. Works with Livewire and Vue 3.

Installation
------------

[](#installation)

```
composer require mrshanebarron/slider
```

Livewire Usage
--------------

[](#livewire-usage)

### Basic Usage

[](#basic-usage)

```

```

### With Min/Max

[](#with-minmax)

```

```

### Show Value

[](#show-value)

```

```

### Livewire Props

[](#livewire-props)

PropTypeDefaultDescription`wire:model`number`0`Current value`min`number`0`Minimum value`max`number`100`Maximum value`step`number`1`Step increment`show-value`boolean`false`Display current value`disabled`boolean`false`Disable sliderVue 3 Usage
-----------

[](#vue-3-usage)

### Setup

[](#setup)

```
import { SbSlider } from './vendor/sb-slider';
app.component('SbSlider', SbSlider);
```

### Basic Usage

[](#basic-usage-1)

```

  Value: {{ value }}

import { ref } from 'vue';
const value = ref(50);

```

### With Options

[](#with-options)

```

```

### Price Filter

[](#price-filter)

```

      Price: ${{ price }}

      $0
      $500

```

### Volume Control

[](#volume-control)

```

    {{ volume }}%

```

### Custom Colors

[](#custom-colors)

```

```

### Vue Props

[](#vue-props)

PropTypeDefaultDescription`modelValue`Number`0`Current value`min`Number`0`Minimum value`max`Number`100`Maximum value`step`Number`1`Step increment`showValue`Boolean`false`Show value label`disabled`Boolean`false`Disable interaction`trackColor`String`'bg-gray-200'`Track color class`fillColor`String`'bg-blue-600'`Fill color class`thumbColor`String`'bg-blue-600'`Thumb color class### Events

[](#events)

EventPayloadDescription`update:modelValue``number`Value changed`change``number`Value change completedFeatures
--------

[](#features)

- **Range Selection**: Min to max values
- **Step Increments**: Configurable step size
- **Value Display**: Optional current value
- **Custom Colors**: Tailwind color classes
- **Accessible**: Keyboard support

Styling
-------

[](#styling)

Uses Tailwind CSS:

- Gray track background
- Blue fill and thumb
- Rounded track
- Focus ring on thumb

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, or 12
- Tailwind CSS 3.x

License
-------

[](#license)

MIT License

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance79

Regular maintenance activity

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

144d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a38dc9b4ccc180ee3e9df8879f8747ea9dbf36812c6546827fe504fa8993eb8?d=identicon)[mrshanebarron](/maintainers/mrshanebarron)

---

Tags

laravellivewiresliderrangevue

### Embed Badge

![Health badge](/badges/mrshanebarron-slider/health.svg)

```
[![Health](https://phpackages.com/badges/mrshanebarron-slider/health.svg)](https://phpackages.com/packages/mrshanebarron-slider)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
