Is there a way to customize the slider component?

I was wondering if there was a way (or add-on), to customize the slider component:

  • use enum values instead of double (or any other type) for step value.
  • specify amount of space between steps (for a more precise selection).

like: |–|–|–|–| instead of |------------|

Do I need to rewrite the component?

Thank you people,

JS.

ok I’m silly: spacing is proportionate to max size / nb values.

But still, custom captions would be very nice. Thoughts?

JS.