Ionic Range

Ionic Range Slider: Range Slider enables the user to select the range between the given points. Range slider provides disks to manage the range. There are various range selectors in Ionic which you can use in your application. It is very easy to customize the range slider. You can use classes to add the colors to the elements. We are going to explain the method how to use range sliders and how to customize them.

Ionic Range Slider Example | Color | Selector

Let us understand the Range selector with very basic example –

Range Slider Example

<div class="item range">
  <i class="icon ion-volume-low"></i>
  <input type="range" name="volume">
  <i class="icon ion-volume-high"></i>

Try it »

If you run the above example it will produce the output like this –

Ionic Range Example

More Examples

Let us learn more abot the ionic range. Here we are going to explain how to add different colors and icons.

Ionic Range List With Different Colors And Icons

Here we are going to add different icons and colors in the range of ionic framework.


          <div class="item range range-positive">
            <i class="icon ion-volume-low"></i>
            <input type="range" name="volume" min="0" max="100" value="25">
            <i class="icon ion-ios-sunny"></i>
		   <div class="item range range-balanced">
            <i class="icon ion-ios-lightbulb-outline"></i>
            <input type="range" name="volume" min="0" max="100" value="35">
            <i class="icon ion-ios-lightbulb"></i>
          <div class="item range range-calm">
            <i class="icon ion-ios-sunny-outline"></i>
            <input type="range" name="volume" min="0" max="100" value="20">
            <i class="icon ion-ios-sunny"></i>
          <div class="item range range-assertive">
            <i class="icon ion-ios-partlysunny-outline"></i>
            <input type="range" name="volume" min="0" max="100" value="63">
            <i class="icon ion-ios-partlysunny"></i>
          <div class="item range range-royal">
            <i class="icon ion-ios-bolt-outline"></i>
            <input type="range" name="volume" min="0" max="100" value="48">
            <i class="icon ion-ios-bolt"></i>
          <div class="item range range-dark">
            <i class="icon ion-ios-moon-outline"></i>
            <input type="range" name="volume" min="0" max="100" value="65">
            <i class="icon ion-ios-moon"></i>

Try it »

The above example will produce the following output-

Ionic Range Example


Add Comment

📖 Read More