question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request]: Slider component enhancement: number range.

See original GitHub issue

Summary

We’re seeking development assistance to enhance Carbon’s slider component to support range inputs.

The number range enhancement to Slider would be a useful tool for when users need to filter down data between a specific range of numbers. This would be an enhancement of the current slider component, which only accepts single number inputs instead of a range of values.

Designed flow: Range Slider - Example

Justification

Our users have reached out with a business need to be able to provide their clients the ability to sort through a range of values within a data table. Since this is an extension on top of Slider's current offering, we are reaching out for development assistance.

Desired UX and success metrics

The number range enhancement to Slider will provide a visual indication of adjustable content, where the user can increase or decrease a range of values by moving two handles along a horizontal track.

Success metrics:

  • Users should be able to identify the ability to select a range from a set of numbers with a specific lower and upper limit.

  • Warn users when their text input exceeds the specified lower or upper limit in the number input fields with an error or warning state.

Identify Range Error State Warning State
Identify Range Error State Warning State

Required functionality

As seen in the current Slider component:

Users can choose a numerical value by:

  • Entering the exact value into the text field.
  • Moving the slider handle with their mouse, which automatically updates the value in the text input.
  • Using the ↑ ↓ ← → arrow keys automatically updates the value in the text input and moves the slider handle to the corresponding value.
  • The step size increment is how many increments the inputted value and slider handle will jump when using the arrow keys. Make sure to set the step size increments to reasonable values.
  • ↑ ↓ ← → changes the value by one step size increment. Example: Pressing → changes the inputted value from 59 to 60, increasing the value by 1 unit.
  • Shift + ↑ ↓ ← → changes the value by 10 step size increments. Example: Typing Shift + → changes the value from 60 to 70, increasing the inputted value by 10 units.

Specific timeline issues / requests

One of our users is looking to implement this component by February 2022.

Available extra resources

Design resources: our team can create usage and style templates, create additional guidance, and help bring this to life!

Code of Conduct

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
KevinCamelocommented, Nov 29, 2021

@tay1orjones Thank you for the response, @tay1orjones. Would love to see if it could get revisited by Carbon, especially since it seems multiple teams have created one off solutions for range.

For my exploration, I tried to make it so it doesn’t divert far away from what Slider currently offers.

I’ve added a comment on #6337 with my thoughts. Thank you!

0reactions
akanshag26commented, Jun 8, 2022

Can someone please let me know if this feature is implemented?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Designing The Perfect Slider - Smashing Magazine
Instead, we'll look into the fine details of designing better slider controls for selecting a value or a range of values. Think of...
Read more >
Countdown slider - #13 by Anke - MIT App Inventor Help
Describe the desired feature The Slider component maps the min/max values into the range 0-100, so if you have a range that.
Read more >
Change Grid filters with Slider in UI for ASP.NET MVC - Telerik
I have a Kendo Grid with a lot of numerical data in it and I'd like to incorporate the Kendo range Slider into...
Read more >
Range Slider Widget - Algolia
Range Slider Widget. A widget that filters the results, based on a single numeric range. Front end. InstantSearch. javascript.
Read more >
The Slider component - Google Web Designer Help
The Slider component lets you add a slider to your project. Users can drag the slider to pick a number from a range...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found