carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.84k stars 1.81k forks source link

[Feature Request]: Option to specify list of marks #17784

Open parejko opened 4 days ago

parejko commented 4 days ago

The problem

Currently we can only set the increment like 0, 5, 10, 15, 20, 25, 30.

We have use case where we need to set up 1, 5, 10, 15, 20, 30 So from current implementation we want to start with 1 instead of 0, and omit the 25 value. Also we need the "marks" to give the user information which values are allowed

Expected slider option below Image

The solution

Option to specify the list of possible values with labels which will be used to display marks Solution has to support keyboard navigation

Examples

No response

Application/PAL

Instana

Business priority

None

Available extra resources

No response

Code of Conduct

github-actions[bot] commented 4 days ago

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.