Buttons for jQuery and jQuery Mobile

Learn about Buttons

Use the various button styles to create the perfect call to action or any button, segmented control or stepper you need.

With theme builder support and color presets, these controls can be customized for shape, look & feel.

Shipping with useful features:

  • Flat, outline and full buttons
  • Justfied & full width buttons
  • Disabled styling
  • Color presets
  • Icon buttons
  • Single & multiple select segmented control
  • Customizable stepper


Button demos available for other frameworks.

Viewing demos & code for

light
dark

Change the theme setting here

Buttons - Basic styling

Change demo
Basic styling
JQuery Button styling with full-width and justified layout along with icons, borderless/flat and outline rendering. For jQuery or jQuery Mobile.
// Use the settings object to change the theme
mobiscroll.settings = {
    lang: '',
    theme: ''
};

$('#action-btn').on('click', function () {
    mobiscroll.toast({
        message: 'Button was clicked'
    });
});
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Buttons</div>
        <div class="mbsc-btn-group">
            <button>Button</button>
            <button disabled>Disabled</button>
        </div>
        <div class="mbsc-btn-group">
            <button id="action-btn">Click for action</button>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Full width buttons</div>
        <div class="mbsc-btn-group-block">
            <button>Full width button</button>
            <button disabled>Disabled full width</button>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Justified buttons</div>
        <div class="mbsc-btn-group-justified">
            <button>Tag</button>
            <button>Favorite</button>
            <button>Flag</button>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Icons</div>
        <div class="mbsc-btn-group">
            <button data-icon="tag"></button>
            <button data-icon="heart"></button>
            <button data-icon="flag" disabled></button>
        </div>
        <div class="mbsc-btn-group">
            <button data-icon="tag">Tag</button>
            <button data-icon="heart">Favorite</button>
            <button data-icon="flag" disabled>Flag</button>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Flat buttons</div>
        <div class="mbsc-btn-group">
            <button class="mbsc-btn-flat">Flat</button>
            <button class="mbsc-btn-flat" data-icon="arrow-left5">Flat & Icon</button>
            <button class="mbsc-btn-flat" data-icon="arrow-left5"></button>
            <button class="mbsc-btn-flat" data-icon="key2" disabled></button>
            <button class="mbsc-btn-flat" disabled>Flat disabled</button>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Outline buttons</div>
        <div class="mbsc-btn-group">
            <button class="mbsc-btn-outline">Outline</button>
            <button class="mbsc-btn-outline" data-icon="arrow-left5">Outline & Icon</button>
            <button class="mbsc-btn-outline" data-icon="arrow-left5"></button>
            <button class="mbsc-btn-outline" data-icon="key2" disabled></button>
            <button class="mbsc-btn-outline" disabled>Outline disabled</button>
        </div>
    </div>
</div>

Buttons - Colors

Change demo
Colors
JQuery Button styling example with different color presets for primary, secondary, success, danger and more. For jQuery or jQuery 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">Button colors</div>
        <div class="mbsc-btn-group">
            <button class="mbsc-btn-primary">Primary</button>
            <button class="mbsc-btn-secondary">Secondary</button>
            <button class="mbsc-btn-success">Success</button>
            <button class="mbsc-btn-danger">Danger</button>
            <button class="mbsc-btn-warning">Warning</button>
            <button class="mbsc-btn-info">Info</button>
            <button class="mbsc-btn-light">Light</button>
            <button class="mbsc-btn-dark">Dark</button>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Full width button colors</div>
        <div class="mbsc-btn-group-block">
            <button class="mbsc-btn-primary">Primary</button>
            <button class="mbsc-btn-secondary">Secondary</button>
            <button class="mbsc-btn-success">Success</button>
            <button class="mbsc-btn-danger">Danger</button>
            <button class="mbsc-btn-warning">Warning</button>
            <button class="mbsc-btn-info">Info</button>
            <button class="mbsc-btn-light">Light</button>
            <button class="mbsc-btn-dark">Dark</button>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Justified button colors</div>
        <div class="mbsc-btn-group-justified">
            <button class="mbsc-btn-primary">Primary</button>
            <button class="mbsc-btn-secondary">Secondary</button>
            <button class="mbsc-btn-success">Success</button>
            <button class="mbsc-btn-danger">Danger</button>
            <button class="mbsc-btn-warning">Warning</button>
            <button class="mbsc-btn-info">Info</button>
            <button class="mbsc-btn-light">Light</button>
            <button class="mbsc-btn-dark">Dark</button>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Icons button colors</div>
        <div class="mbsc-btn-group">
            <button data-icon="key2" class="mbsc-btn-primary"></button>
            <button data-icon="key2" class="mbsc-btn-secondary"></button>
            <button data-icon="key2" class="mbsc-btn-success"></button>
            <button data-icon="key2" class="mbsc-btn-danger"></button>
            <button data-icon="key2" class="mbsc-btn-warning"></button>
            <button data-icon="key2" class="mbsc-btn-info"></button>
            <button data-icon="key2" class="mbsc-btn-light"></button>
            <button data-icon="key2" class="mbsc-btn-dark"></button>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Flat button colors</div>
        <div class="mbsc-btn-group">
            <button class="mbsc-btn-flat mbsc-btn-primary">Primary</button>
            <button class="mbsc-btn-flat mbsc-btn-secondary">Secondary</button>
            <button class="mbsc-btn-flat mbsc-btn-success">Success</button>
            <button class="mbsc-btn-flat mbsc-btn-danger">Danger</button>
            <button class="mbsc-btn-flat mbsc-btn-warning">Warning</button>
            <button class="mbsc-btn-flat mbsc-btn-info">Info</button>
            <button class="mbsc-btn-flat mbsc-btn-light">Light</button>
            <button class="mbsc-btn-flat mbsc-btn-dark">Dark</button>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Outline button colors</div>
        <div class="mbsc-btn-group">
            <button class="mbsc-btn-outline mbsc-btn-primary">Primary</button>
            <button class="mbsc-btn-outline mbsc-btn-secondary">Secondary</button>
            <button class="mbsc-btn-outline mbsc-btn-success">Success</button>
            <button class="mbsc-btn-outline mbsc-btn-danger">Danger</button>
            <button class="mbsc-btn-outline mbsc-btn-warning">Warning</button>
            <button class="mbsc-btn-outline mbsc-btn-info">Info</button>
            <button class="mbsc-btn-outline mbsc-btn-light">Light</button>
            <button class="mbsc-btn-outline mbsc-btn-dark">Dark</button>
        </div>
    </div>
</div>

Buttons - Segmented

Change demo
Segmented
JQuery Segmented control with single & multiple select for radio buttons and checklists. It supports icons, text, colors. For jQuery or jQuery Mobile.
mobiscroll.settings = {
    lang: '',
    theme: ''
};
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Single select</div>
        <label>
            Day
            <input type="radio" data-role="segmented" name="range">
        </label>
        <label>
            Week
            <input type="radio" data-role="segmented" name="range">
        </label>
        <label>
            Month
            <input type="radio" data-role="segmented" name="range">
        </label>
        <label>
            Year
            <input type="radio" data-role="segmented" name="range" checked>
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Multiple select</div>

        <label>
            S
            <input type="checkbox" data-role="segmented" name="week" disabled>
        </label>
        <label>
            M
            <input type="checkbox" data-role="segmented" name="week" checked>
        </label>
        <label>
            T
            <input type="checkbox" data-role="segmented" name="week" >
        </label>
        <label>
            W
            <input type="checkbox" data-role="segmented" name="week" >
        </label>
        <label>
            T
            <input type="checkbox" data-role="segmented" name="week" checked>
        </label>
        <label>
            F
            <input type="checkbox" data-role="segmented" name="week" >
        </label>
        <label>
            S
            <input type="checkbox" data-role="segmented" name="week" disabled>
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Text and Icon</div>

        <label>
            Featured
            <input type="radio" data-role="segmented" data-icon="material-star" name="app" checked>
        </label>
        <label>
            Explore
            <input type="radio" data-role="segmented" data-icon="material-explore" name="app">
        </label>
        <label>
            Updates
            <input type="radio" data-role="segmented" data-icon="material-system-update" name="app">
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Icon</div>

        <label>
            <input type="radio" data-role="segmented" data-icon="fa-mail-reply" name="settings">
        </label>
        <label>
            <input type="radio" data-role="segmented" data-icon="fa-retweet" name="settings">
        </label>
        <label>
            <input type="radio" data-role="segmented" data-icon="star3" name="settings" checked>
        </label>
        <label>
            <input type="radio" data-role="segmented" data-icon="cogs" name="settings">
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Disabled</div>

        <label>
            Idividual
            <input type="radio" data-role="segmented" name="org" disabled checked>
        </label>
        <label>
            Team
            <input type="radio" data-role="segmented" name="org" disabled>
        </label>
        <label>
            Company
            <input type="radio" data-role="segmented" name="org" disabled>
        </label>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Segmented colors</div>
        <label class="mbsc-segmented-primary">
            Desktop
            <input type="radio" data-role="segmented" data-icon="home" name="group-primary" checked>
        </label>
        <label class="mbsc-segmented-primary">
            Mobile
            <input type="radio" data-role="segmented" data-icon="mobile" name="group-primary">
        </label>
        <label class="mbsc-segmented-primary">
            Cloud
            <input type="radio" data-role="segmented" data-icon="cloud-upload" name="group-primary">
        </label>

        <label class="mbsc-segmented-secondary">
            Desktop
            <input type="radio" data-role="segmented" data-icon="home" name="group-secondary" checked>
        </label>
        <label class="mbsc-segmented-secondary">
            Mobile
            <input type="radio" data-role="segmented" data-icon="mobile" name="group-secondary">
        </label>
        <label class="mbsc-segmented-secondary">
            Cloud
            <input type="radio" data-role="segmented" data-icon="cloud-upload" name="group-secondary">
        </label>

        <label class="mbsc-segmented-success">
            Desktop
            <input type="radio" data-role="segmented" data-icon="home" name="group-success" checked>
        </label>
        <label class="mbsc-segmented-success">
            Mobile
            <input type="radio" data-role="segmented" data-icon="mobile" name="group-success">
        </label>
        <label class="mbsc-segmented-success">
            Cloud
            <input type="radio" data-role="segmented" data-icon="cloud-upload" name="group-success">
        </label>

        <label class="mbsc-segmented-danger">
            Desktop
            <input type="radio" data-role="segmented" data-icon="home" name="group-danger">
        </label>
        <label class="mbsc-segmented-danger">
            Mobile
            <input type="radio" data-role="segmented" data-icon="mobile" name="group-danger" checked>
        </label>
        <label class="mbsc-segmented-danger">
            Cloud
            <input type="radio" data-role="segmented" data-icon="cloud-upload" name="group-danger">
        </label>

        <label class="mbsc-segmented-warning">
            Desktop
            <input type="radio" data-role="segmented" data-icon="home" name="group-warning">
        </label>
        <label class="mbsc-segmented-warning">
            Mobile
            <input type="radio" data-role="segmented" data-icon="mobile" name="group-warning" checked>
        </label>
        <label class="mbsc-segmented-warning">
            Cloud
            <input type="radio" data-role="segmented" data-icon="cloud-upload" name="group-warning">
        </label>

        <label class="mbsc-segmented-info">
            Desktop
            <input type="radio" data-role="segmented" data-icon="home" name="group-info">
        </label>
        <label class="mbsc-segmented-info">
            Mobile
            <input type="radio" data-role="segmented" data-icon="mobile" name="group-info" checked>
        </label>
        <label class="mbsc-segmented-info">
            Cloud
            <input type="radio" data-role="segmented" data-icon="cloud-upload" name="group-info">
        </label>
    </div>
</div>

Buttons - Stepper

Change demo
Stepper
JQuery Stepper example with fixed/custom steps, editable values, numerical keypad integration. Supports different styles. For jQuery or jQuery Mobile.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

$(function () {

    var cbAllow = $('.md-allow'),
        stepperLuggage = $('.md-luggage');

    cbAllow.change(function () {
        stepperLuggage.prop('disabled', !this.checked);
    });

});
<div mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Passengers</div>
        <div>
            <label for="md-adults">Adults</label>
            <span class="mbsc-desc">From 14 years</span>
            <input id="md-adults" type="number" data-role="stepper" min="1" value="1" max="15" />
        </div>
        <div>
            <label for="md-children">Children</label>
            <span class="mbsc-desc">2-14 years</span>
            <input id="md-children" type="number" data-role="stepper" max="15" data-val="left" />
        </div>
        <div>
            <label for="md-infant">Infant</label>
            <span class="mbsc-desc">0-2 years</span>
            <input id="md-infant" type="number" data-role="stepper" data-val="left" max="10" />
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Luggage</div>
        <label>
            Allow overweight luggage
            <input class="md-allow" type="checkbox" />
        </label>
        <div>
            <label for="md-luggage">Weight</label>
            <span class="mbsc-desc">(kg)</span>
            <input id="md-luggage" type="number" class="md-luggage" data-role="stepper" data-val="left" min="30" max="80" step="5" value="30" disabled />
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Stepper colors</div>
        <label class=" mbsc-stepper-primary">
            Primary
            <input type="number" data-role="stepper" value="100" min="-500" max="500" step="100">
        </label>

        <label class=" mbsc-stepper-secondary">
            Secondary
            <input type="number" data-role="stepper" value="100" min="-500" max="500" step="100">
        </label>

        <label class=" mbsc-stepper-success">
            Success
            <input type="number" data-role="stepper" value="100" min="-500" max="500" step="100">
        </label>

        <label class=" mbsc-stepper-danger">
            Danger
            <input type="number" data-role="stepper" value="100" min="-500" max="500" step="100">
        </label>

        <label class=" mbsc-stepper-warning">
            Warning
            <input type="number" data-role="stepper" value="100" min="-500" max="500" step="100">
        </label>

        <label class=" mbsc-stepper-info">
            Info
            <input type="number" data-role="stepper" value="100" min="-500" max="500" step="100">
        </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