Range Group

Range Group

The range-group component helps us to create a more complete range field with a value display and button control.

Dependencies

  • Alpine.js - Some or all of the components require Alpine.js for functionality.

Technical Details

  • It uses native Spruce elements and styling, so the component is mainly about a small JS.
  • On the .form-label__value element, you can set a data-suffix value to add a unit at the end of the value display.
  • It automatically gets the step, min, and max values.
  • You should always use a proper aria-label value.

Documentation

Learn about Spruce CSS through our extensive documentation.

Components

Explore our extensive UI library built with Spruce CSS.

Blog

Read about front-end development and concepts of Spruce CSS.

Find us on GitHub

Did you find a bug? Have an idea or a question? Please open an issue to help us develop the project.