Slider & progress for jQuery and jQuery Mobile

Learn about Slider & progress

Use the slider and progress components to let users pick values from a continuous or discrete range, rate items and clearly give progress feedback to users.

With a wide variety of customization options you can easily fine-tune the UX to the need of your users. Interact ans et values programatically on the fly.

Use it for picking values, showing progress with the following features:

  • Single and multiple handle sliders
  • Continuous slider
  • Discrete slider
  • Custom steps for slider and progress
  • Custom icon support
  • Rating slider
  • Color preset support


Forms demos available for other frameworks.

Viewing demos & code for

light
dark

Change the theme setting here

Slider & progress - Slider

Change demo
Slider
Slider examples with single, multiple handles supporting icons, inline values, steps, floating and discrete slider.
mobiscroll.settings = {
    lang: '',
    theme: ''
};
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Sound settings</div>
        <label>
            <input type="range" value="30" data-icon='{ "left": "volume-mute2", "right": "volume-high" }' />
        </label>
        <label>
            <input type="range" value="50" data-icon="alarm2" disabled />
        </label>
        <label>
            Weight
            <input type="range" value="130" min="80" max="300" data-val="left" data-template="{value} lbs" data-highlight="false" />
        </label>
        <label>
            Price
            <input type="range" value="100" min="0" max="500" step="25" data-tooltip="true" data-step-labels="[0, 100, 200, 300, 400, 500]">
            <input type="range" value="400" min="0" max="500" step="25" />
        </label>
        <label>
            Steps
            <input type="range" value="50" min="0" max="100" step="25" data-step-labels="[0, 25, 50, 75, 100]">
        </label>
        <label>
            Multiple
            <input type="range" value="100" min="0" max="3000" data-tooltip="true" data-step-labels="[0, 500, 1000, 1500, 2000, 2500, 3000]">
            <input type="range" value="500" min="0" max="3000" />
            <input type="range" value="2000" min="0" max="3000" />
            <input type="range" value="2800" min="0" max="3000" />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Slider colors</div>
        <label class="mbsc-slider-primary">
            Primary
            <input type="range" value="45" data-tooltip="true">
        </label>

        <label class="mbsc-slider-secondary">
            Secondary
            <input type="range" value="45" data-tooltip="true">
        </label>

        <label class="mbsc-slider-success">
            Success
            <input type="range" value="45" data-tooltip="true">
        </label>

        <label class="mbsc-slider-danger">
            Danger
            <input type="range" value="45" data-tooltip="true">
        </label>

        <label class="mbsc-slider-warning">
            Warning
            <input type="range" value="45" data-tooltip="true">
        </label>

        <label class="mbsc-slider-info">
            Info
            <input type="range" value="45" data-tooltip="true">
        </label>
    </div>
</div>

Slider & progress - Date Slider

Change demo
Date Slider
Slider demo as a date picker. Use this for picking the day of week where simplicity is essential.
$(function () {
    var dayNames = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
        monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
        d = new Date(),
        diff = d.getDate() - d.getDay(),
        nextSunday = new Date(d.setDate(diff + 7)),
        nextWeek = {};

    function setText(d) {
        $('.md-date').text(monthNames[d.getMonth()] + " " + d.getDate());
    }

    $('#slider').change(function (ev) {
        setText(nextWeek[Math.round($(this).val())])
    });

    $('#demo').mobiscroll().form({
        theme: '',
        lang: ''
    });

    $('#slider').mobiscroll().slider({
        theme: '',
        lang: '',
        highlight: false,
        onInit: function (event, inst) {
            var labels = $('#slider').parent().find('.mbsc-progress-step-label');
            $.each(labels, function (i, v) {
                nextWeek[Math.round($(v).text())] = new Date(nextSunday.getFullYear(), nextSunday.getMonth(), nextSunday.getDate() + i); // generate nextWeek object
                $(v).text(dayNames[i]); // replace labels
            });
            setText(nextSunday);
        }

    });
});
<div id="demo" class="md-dateslider">
    <div class="mbsc-padding md-header">
        Pick the day for your next visit
    </div>
    <div class="mbsc-form-group-inset">
        <label>    
            <input id="slider" type="range" value="0"  data-step-labels="[0, 16.66, 33.32, 50, 66.64, 83.3, 100]" step="16.66" />
        </label>
    </div>
    <div class="mbsc-padding">
        <div class="md-check-cont"><span class="md-check mbsc-ic mbsc-ic-material-check"></span></div>
        We’ll see each other next week on
        <div><a href="" class="md-date">Feb 1</a> @ 5PM</div>
    </div>

</div>
.mbsc-padding.md-header {
    font-size: 1.25em;
    font-weight: 400;
    padding: .8em .8em .4em .8em;
}

.md-dateslider .mbsc-padding {
    text-align: center;
}

.md-check-cont {
    padding: 8px 0 16px 0;
}

.md-check {
    display: inline-block;
    width: 32px;
    height: 32px;
    font-size: 26px;
    padding: .2em;
    line-height: 23px;
    border-radius: 33px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.demo-theme-mobiscroll .md-check {
    background: #4ECCC4;
    color: #f7f7f7;
}

.demo-theme-mobiscroll-dark .md-check {
    background: #4ECCC4;
    color: #263238;
}

.demo-theme-material .md-check {
    background: #009688;
    color: #eee;
}

.demo-theme-material-dark .md-check {
    background: #81ccc4;
    color: #f7f7f7;
}

.demo-theme-ios .md-check {
    background: #1272dc;
    color: #f5f5f5;
}

.demo-theme-ios-dark .md-check {
    background: #ff8400;
    color: #1a1a1a;
}

.demo-theme-android-holo .md-check {
    background: #31c6e7;
    color: #000;
}

.demo-theme-android-holo-light .md-check {
    background: #31c6e7;
    color: #f5f5f5;
}

.demo-theme-wp .md-check {
    background: #1a9fe0;
    color: #000;
}

.demo-theme-wp-light .md-check {
    background: #1a9fe0;
    color: #fff;
}

Slider & progress - Progress

Change demo
Progress
Progress indicator with custom steps, labels, icons, percentage and event hooks for programmatic interaction.
// Use the settings object to change the theme
mobiscroll.settings = {
    lang: '',
    theme: ''
};

$(function () {

    var downloadInst = $('#download').mobiscroll('getInst'),
        interval,
        i;

    function startDownload() {
        i = 0;
        clearInterval(interval);
        interval = setInterval(function () {
            if (i == 100) {
                clearInterval(interval);
            }
            downloadInst.setVal(i += 5);
        }, 600);
    }

    $('.md-restart').click(function () {
        startDownload();
    });

    startDownload();

    var inst = $('#progress').mobiscroll('getInst'),
        val;

    $('.md-update').click(function () {
        if (inst.getVal() >= 100) {
            inst.setVal(0);
        } else {
            inst.setVal(inst.getVal() + 25);
        }
    });

    var upInterval,
        uploadList = ['1MB', '5MB', '10MB', '50MB'],
        uploadInst = $('#uploadProg').mobiscroll('getInst');

    function restartUpload() {
        uploadInst.setVal(0);
        clearInterval(upInterval);
        upInterval = setInterval(function () {
            if (uploadInst.getVal() >= 100) {
                clearInterval(upInterval);
            }
            uploadInst.setVal(uploadInst.getVal() + 17);
        }, 1000);
    }

    $('.md-upload .mbsc-progress-step-label').each(function (i, v) {
        $(v).text(uploadList[i]);
    });

    $('.md-restart-up').click(function () {
        restartUpload();
    });

    restartUpload();

    var labelList = ['Cart', 'Pay', 'Enjoy'],
        cartInst = $('#cartProg').mobiscroll('getInst');

    $('.md-demo .mbsc-progress-step-label').each(function (i, v) {
        $(v).text(labelList[i]);
    });

    $('.md-next-step').click(function () {
        if (cartInst.getVal() >= 100) {
            cartInst.setVal(0);
        } else {
            cartInst.setVal(cartInst.getVal() + 50);
        }
    });

});
<div id="demo" class="md-progress-demo" mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Downloading file</div>
        <label>
            <progress id="download" value="0" max="100" data-icon='{ "left": "cloud-download" }' data-val="right"></progress>
        </label>
    </div>
    <div class="mbsc-form-group mbsc-btn-group">
        <button class="mbsc-btn md-restart">Restart download</button>
    </div>
    <div class="mbsc-form-group">
        <label>
            <progress id="progress" value="0" max="100" data-step-labels="[0, 25, 50, 75, 100]"></progress>
        </label>
    </div>
    <div class="mbsc-form-group mbsc-btn-group">
        <button class="mbsc-btn md-update">Update progress</button>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Cloud upload</div>
        <label class="md-upload">
            <progress  value="0" id="uploadProg" max="100" data-step-labels="[0, 33, 66, 100]" data-icon='{ "left": "cloud-upload" }'></progress>
        </label>
    </div>
    <div class="mbsc-form-group mbsc-btn-group">
        <button class="mbsc-btn md-restart-up">Restart upload</button>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Checkout process</div>
        <label class="md-demo">
            <progress id="cartProg" value="0" max="100" data-step-labels="[0, 50, 100]"></progress>
        </label>
    </div>
    <div class="mbsc-form-group mbsc-btn-group">
        <button class="mbsc-btn md-next-step">Next step</button>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Progress colors</div>

        <label class="mbsc-progress-primary">
            Primary
            <progress value="30" max="100"></progress>
        </label>

        <label class="mbsc-progress-secondary">
            Secondary
            <progress value="50" max="100"></progress>
        </label>

        <label class="mbsc-progress-success">
            Success
            <progress value="67" max="100"></progress>
        </label>

        <label class="mbsc-progress-danger">
            Danger
            <progress value="55" max="100"></progress>
        </label>

        <label class="mbsc-progress-warning">
            Warning
            <progress value="33" max="100"></progress>
        </label>

        <label class="mbsc-progress-info">
            Info
            <progress value="86" max="100"></progress>
        </label>
    </div>
</div>

Slider & progress - Rating

Change demo
Rating
Rating examples with stars, supporting icons, fractional values, custom ranges and colors. For desktop & mobile.
// Use the settings object to change the theme
mobiscroll.settings = {
    lang: '',
    theme: ''
};
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Rating</div>
        <label>
            Star rating
            <input data-role="rating" />
        </label>
        <label>
            Icons
            <input data-role="rating" data-empty="heart2" data-filled="heart" value="3" />
        </label>
        <label>
            Half steps
            <input data-role="rating" step=".5" min="0" max="3" value="1.5" />
        </label>
        <label>
           Value
            <input data-role="rating" data-val="right" max="6" value="4" data-template="{value}/{max}" />
        </label>
        <label>
            Disabled
            <input data-role="rating" disabled />
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Rating colors</div>
        <label class="mbsc-rating-primary">
            Primary
            <input data-role="rating" data-role="rating" />
        </label>
        <label class="mbsc-rating-secondary">
            Secondary 
            <input data-role="rating" data-role="rating" />
        </label>
        <label class="mbsc-rating-success">
            Success 
            <input data-role="rating" data-role="rating" />
        </label>
        <label class="mbsc-rating-danger">
            Danger 
            <input data-role="rating" data-role="rating" />
        </label>
        <label class="mbsc-rating-warning">
            Warning 
            <input data-role="rating" data-role="rating" />
        </label>
        <label class="mbsc-rating-info">
            Info 
            <input data-role="rating" data-role="rating" />
        </label>
    </div>
</div>

Looking for something you didn't see or have a sales question?
Ask us about it, we're here to help.

Component license


Purchase component licenses if you are looking for specific funcionality.

Total


All features will be included with the license.

Buy component license

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for JQuery $595


Use Javascript when building with plain and simple JS. Use jQuery when you have jQuery already included or if you are building with jQuery Mobile. Use AngularJS when building with Angular 1.x or Ionic 1. Use Angular when building with Angular 2/4/5/6/7 or Ionic 2/3/4. Use it when you are building your app or website with React.


Buy framework license
See other licensing options

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for JQuery $595


  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6/7 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Framework license


Select the development framework you are using. Get all 36 components with the license.

Mobiscroll for Javascript
Mobiscroll for jQuery
Mobiscroll for React
Mobiscroll for Angular
Mobiscroll for Angular JS
  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6/7 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Select the framework you are interested in

Javascript
jQuery
Angular
Angular JS
React

Use Javascript when building with plain and simple JS.

Use jQuery when you have jQuery already included or if you are building with jQuery Mobile.

Use AngularJS when building with Angular 1.x or Ionic 1.

Use Angular when building with Angular 2/4/5/6/7 or Ionic 2/3/4.

Use it when you are building your app or website with React.

Do you need additional support seats?

The framework license comes with one support seat. ( +$50/seat )

Add the source code?

Price
Buy now
Customize & try demos locally
Sign in or start your free trial

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Email address

Customize & try this demo locally
Sign in or start your free trial

We have to set you up with a trial for this to run 👍

Email address

Customize & try demos locally
You can download and use Mobiscroll for Free

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Install demo in your app
Follow this quick, two minute install guide
Close window

Step 1.Install the Mobiscroll CLI from npm

Copy command
$ npm install -g @mobiscroll/cli

The CLI makes configuring your apps super simple 👍

Step 2.Run the following command in the root folder of your Ionic project

Copy command
$ mobiscroll config ionic
$ mobiscroll config ionic --lite

You will be prompted to log in with your mobiscroll account. Set your password here

Create an Ionic 3 & Mobiscroll starter with the CLI:

$ mobiscroll start ionic myStarter

Run this command for Ionic 4 & Mobiscroll starter:

$ mobiscroll start ionic-angular myStarter

Step 3.Copy the code into your app. HTML goes into the markup, TS into Typescript.

Copy TS
Copy HTML
Copy CSS

Run ionic serve in the root folder of your app 🎉

Copy command
$ ionic serve
Thanks for downloading
Try and customize the app locally

Extract the zip file and run the project like any Ionic app. Make sure to have Ionic CLI installed and open the terminal in the app root folder.

Step 1. Run in root folder
$ npm install
Step 2. Start the app
$ ionic serve

Let us know if we can help and enjoy!

Change your password
Need to update your password? Enter and hit the button below

You are setting a password for the account

New Password Required Enter at least 6 characters
Change your password
Need to update your password? Enter and hit the button below

Your password has been changed!

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

Please extract the zip file and simply open the demos in your favorite browser. For instructions on how to install Mobiscroll in your project follow this guide.


Let us know if we can help and enjoy!

Thanks for downloading
Customize demos locally

The demo is using an in-browser TypeScript transpiler app as its base. Extract the zip file and open the index.html on your local dev server.

You can also use live-server. For installation and usage, open a terminal window and follow these steps.

Step 1. Install live-server
$ npm install -g live-server
Step 2. Start server & run app
$ live-server

Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The easiest way to get started is to follow the installation steps and by grabbing the code directly from the demo page. Let us know if we can help and enjoy!

You'll find a fully functional Kitchen-sink Ionic app in the zip file.

Thanks for downloading
Customize demos locally

The demos are using Babel's in-browser ES6 and JSX transformer.

Please extract the zip file and open the demos in your browser. For instructions on how to install Mobiscroll in your project follow this guide.


Let us know if we can help and enjoy!

Demos
Alerts & notifications
Alert Notifications Note
Components
Alerts & notifications 3
Buttons 4
Calendar 26
Cards 14
Color 10
Date & Time 19
Event Calendar 20
Forms 9
Grid layout 7
Image 7
Inputs & fields 6
Listview 17
Measurement 10
Navigation 8
Number 8
Numpad 13
Option List 4
Popup 10
Range 18
Scroller 7
Scrollview 5
Select 16
Slider & progress 4
Styling 6
Timer 5
Timespan 6
Toggle & Radio 4
Treelist 7
Theme Select
Mobiscroll
Mobiscroll Dark
Material
Material Dark
iOS
iOS Dark
Windows
Windows Dark
Display Mode
Language Locale
See other demos and change options
Theme
Display
Locale
See other demos