From 333bfd11613a222b08472fae1eed833613c66e42 Mon Sep 17 00:00:00 2001 From: Sam Sycamore Date: Tue, 5 Apr 2022 11:06:47 -0500 Subject: [PATCH 1/2] style consistency, introduce the word thumb earlier in the doc --- docs/data/base/components/slider/slider.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/data/base/components/slider/slider.md b/docs/data/base/components/slider/slider.md index ac011d62403321..f596b69fe930cc 100644 --- a/docs/data/base/components/slider/slider.md +++ b/docs/data/base/components/slider/slider.md @@ -1,6 +1,6 @@ --- product: base -title: React Slider unstyled component and hook +title: Unstyled React Slider component and hook components: SliderUnstyled githubLabel: 'component: slider' waiAria: https://www.w3.org/TR/wai-aria-practices/#slider @@ -9,7 +9,7 @@ packageName: '@mui/base' # Slider -

The SliderUnstyled component lets users make selections from a range of values along a horizontal or vertical bar.

+

The SliderUnstyled component lets users make selections from a range of values along a horizontal or vertical bar.

Users may need to select a single value or a range of values on a slider. They are ideal for interface controls that benefit from a visual representation of adjustable content, such as volume or brightness settings, or for applying image filters. @@ -27,7 +27,8 @@ import SliderUnstyled from '@mui/base/SliderUnstyled'; The most basic slider is _continuous_, which means it does not have pre-defined (_discrete_) values for the user to select from. This is suitable for situations in which an approximate value is good enough for the user, such as brightness or volume. -But if your users need more precise options, you can create a discrete slider that snaps to pre-defined stops along the bar. +But if your users need more precise options, you can create a discrete slider that snaps the thumb to pre-defined stops along the bar. + To generate a mark for each stop, use `marks={true}`: {{"demo": "DiscreteSlider.js"}} From f3de19993dab8106283ab0118c3aad8418a166b5 Mon Sep 17 00:00:00 2001 From: Sam Sycamore Date: Tue, 5 Apr 2022 16:47:45 -0500 Subject: [PATCH 2/2] adds unstyled to headline --- docs/data/base/components/slider/slider.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/base/components/slider/slider.md b/docs/data/base/components/slider/slider.md index f596b69fe930cc..f6581ff9725547 100644 --- a/docs/data/base/components/slider/slider.md +++ b/docs/data/base/components/slider/slider.md @@ -7,7 +7,7 @@ waiAria: https://www.w3.org/TR/wai-aria-practices/#slider packageName: '@mui/base' --- -# Slider +# Unstyled slider

The SliderUnstyled component lets users make selections from a range of values along a horizontal or vertical bar.