Range Sliders and Carousel

Default slider

data-carousel="static" to prevent the carousel sliding by default and data-carousel="slide" to infinitely cycle through the items

Slider with Controls

Use the data-carousel-prev and data-carousel-next data attribute to listen to click events which will trigger the slide event from the carousel component to each direction.

Slider with Indicators

Show the carousel indicators by adding the data-carousel-slide-to={position} to any number or style of indicator elements where the value equals the position of the slider element.

Animation

You can easily customize the duration and animation style of the carousel component by using the duration-* and ease-* utility classes from Tailwind CSS.

Image Slider

  • slide

    Adventurer Cheesecake Brownie

  • slide

    Adventurer Lemon

  • slide

    Adventurer Donut

  • slide

    Adventurer Cheesecake Brownie

Image Slider thumbnails

  • slide
  • slide
  • slide
  • slide

Image carousel

Range Slider

Get started with this default example with values from 1 to 100 and the default value of 50.

Apply the disabled class to disallow the users from further selecting values.

Use the min and max attributes on the range component to set the limits of the range values.

Use the step attribute on the range component to set the increment with which the values will change.

Apply the small, default, and large sizes for the range component by applying the range-sm and range-lg utility classes from Flowbite and Tailwind CSS.

Use the following example to add labels to each value milestone of the range slider component.

Min ($100) $500 $1000 Max ($1500)
Mayra Sibley

2 Hours

Hi there, I'm Jesse and you?
You

3 minutes

My name is Anne Clarc.
Mayra Sibley

40 seconds

Nice to meet you Anne.
How can i help you?