You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"root": { "class": ".MuiSlider-root", "description": "Class name applied to the root element." },
3
+
"colorPrimary": { "class": ".MuiSlider-colorPrimary", "description": "Class name applied to the root element if `color=\"primary\"`." },
4
+
"colorSecondary": { "class": ".MuiSlider-colorSecondary", "description": "Class name applied to the root element if `color=\"secondary\"`." },
5
+
"marked": { "class": ".MuiSlider-marked", "description": "Class name applied to the root element if `marks` is provided with at least one label." },
6
+
"vertical": { "class": ".MuiSlider-vertical", "description": "Class name applied to the root element if `orientation=\"vertical\"`." },
7
+
"disabled": { "class": ".Mui-disabled", "description": "Pseudo-class applied to the root and thumb element if `disabled={true}`." },
8
+
"rail": { "class": ".MuiSlider-rail", "description": "Class name applied to the rail element." },
9
+
"track": { "class": ".MuiSlider-track", "description": "Class name applied to the track element." },
10
+
"trackFalse": { "class": ".MuiSlider-trackFalse", "description": "Class name applied to the track element if `track={false}`." },
11
+
"trackInverted": { "class": ".MuiSlider-trackInverted", "description": "Class name applied to the track element if `track=\"inverted\"`." },
12
+
"thumb": { "class": ".MuiSlider-thumb", "description": "Class name applied to the thumb element." },
13
+
"thumbColorPrimary": { "class": ".MuiSlider-thumbColorPrimary", "description": "Class name applied to the thumb element if `color=\"primary\"`." },
14
+
"thumbColorSecondary": { "class": ".MuiSlider-thumbColorSecondary", "description": "Class name applied to the thumb element if `color=\"secondary\"`." },
15
+
"active": { "class": ".MuiSlider-active", "description": "Pseudo-class applied to the thumb element if it's active." },
16
+
"focusVisible": { "class": ".Mui-focusVisible", "description": "Pseudo-class applied to the thumb element if keyboard focused." },
17
+
"valueLabel": { "class": ".MuiSlider-valueLabel", "description": "Class name applied to the thumb label element." },
18
+
"mark": { "class": ".MuiSlider-mark", "description": "Class name applied to the mark element." },
19
+
"markActive": { "class": ".MuiSlider-markActive", "description": "Class name applied to the mark element if active (depending on the value)." },
20
+
"markLabel": { "class": ".MuiSlider-markLabel", "description": "Class name applied to the mark label element." },
21
+
"markLabelActive": { "class": ".MuiSlider-markLabelActive", "description": "Class name applied to the mark label element if active (depending on the value)." }
Copy file name to clipboardExpand all lines: docs/pages/api-docs/slider-styled.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,26 +62,26 @@ Any other props supplied will be provided to the root element (native element).
62
62
63
63
| Rule name | Global class | Description |
64
64
|:-----|:-------------|:------------|
65
-
| <spanclass="prop-name">root</span> | <spanclass="prop-name">.MuiSlider-root</span> | Class name applied to the root element.
66
-
| <spanclass="prop-name">colorPrimary</span> | <spanclass="prop-name">.MuiSlider-colorPrimary</span> | Class name applied to the root element if `color="primary"`.
67
-
| <spanclass="prop-name">colorSecondary</span> | <spanclass="prop-name">.MuiSlider-colorSecondary</span> | Class name applied to the root element if `color="secondary"`.
68
-
| <spanclass="prop-name">marked</span> | <spanclass="prop-name">.MuiSlider-marked</span> | Class name applied to the root element if `marks` is provided with at least one label.
69
-
| <spanclass="prop-name">vertical</span> | <spanclass="prop-name">.MuiSlider-vertical</span> | Class name applied to the root element if `orientation="vertical"`.
70
-
| <spanclass="prop-name">disabled</span> | <spanclass="prop-name">.Mui-disabled</span> | Pseudo-class applied to the root and thumb element if `disabled={true}`.
71
-
| <spanclass="prop-name">rail</span> | <spanclass="prop-name">.MuiSlider-rail</span> | Class name applied to the rail element.
72
-
| <spanclass="prop-name">track</span> | <spanclass="prop-name">.MuiSlider-track</span> | Class name applied to the track element.
73
-
| <spanclass="prop-name">trackFalse</span> | <spanclass="prop-name">.MuiSlider-trackFalse</span> | Class name applied to the track element if `track={false}`.
74
-
| <spanclass="prop-name">trackInverted</span> | <spanclass="prop-name">.MuiSlider-trackInverted</span> | Class name applied to the track element if `track="inverted"`.
75
-
| <spanclass="prop-name">thumb</span> | <spanclass="prop-name">.MuiSlider-thumb</span> | Class name applied to the thumb element.
76
-
| <spanclass="prop-name">thumbColorPrimary</span> | <spanclass="prop-name">.MuiSlider-thumbColorPrimary</span> | Class name applied to the thumb element if `color="primary"`.
77
-
| <spanclass="prop-name">thumbColorSecondary</span> | <spanclass="prop-name">.MuiSlider-thumbColorSecondary</span> | Class name applied to the thumb element if `color="secondary"`.
78
-
| <spanclass="prop-name">active</span> | <spanclass="prop-name">.MuiSlider-active</span> | Pseudo-class applied to the thumb element if it's active.
79
-
| <spanclass="prop-name">focusVisible</span> | <spanclass="prop-name">.Mui-focusVisible</span> | Pseudo-class applied to the thumb element if keyboard focused.
80
-
| <spanclass="prop-name">valueLabel</span> | <spanclass="prop-name">.MuiSlider-valueLabel</span> | Class name applied to the thumb label element.
81
-
| <spanclass="prop-name">mark</span> | <spanclass="prop-name">.MuiSlider-mark</span> | Class name applied to the mark element.
82
-
| <spanclass="prop-name">markActive</span> | <spanclass="prop-name">.MuiSlider-markActive</span> | Class name applied to the mark element if active (depending on the value).
83
-
| <spanclass="prop-name">markLabel</span> | <spanclass="prop-name">.MuiSlider-markLabel</span> | Class name applied to the mark label element.
84
-
| <spanclass="prop-name">markLabelActive</span> | <spanclass="prop-name">.MuiSlider-markLabelActive</span> | Class name applied to the mark label element if active (depending on the value).
65
+
| <spanclass="prop-name">root</span> | <spanclass="prop-name">.MuiSlider-root</span> | Class name applied to the root element.
66
+
| <spanclass="prop-name">colorPrimary</span> | <spanclass="prop-name">.MuiSlider-colorPrimary</span> | Class name applied to the root element if `color="primary"`.
67
+
| <spanclass="prop-name">colorSecondary</span> | <spanclass="prop-name">.MuiSlider-colorSecondary</span> | Class name applied to the root element if `color="secondary"`.
68
+
| <spanclass="prop-name">marked</span> | <spanclass="prop-name">.MuiSlider-marked</span> | Class name applied to the root element if `marks` is provided with at least one label.
69
+
| <spanclass="prop-name">vertical</span> | <spanclass="prop-name">.MuiSlider-vertical</span> | Class name applied to the root element if `orientation="vertical"`.
70
+
| <spanclass="prop-name">disabled</span> | <spanclass="prop-name">.Mui-disabled</span> | Pseudo-class applied to the root and thumb element if `disabled={true}`.
71
+
| <spanclass="prop-name">rail</span> | <spanclass="prop-name">.MuiSlider-rail</span> | Class name applied to the rail element.
72
+
| <spanclass="prop-name">track</span> | <spanclass="prop-name">.MuiSlider-track</span> | Class name applied to the track element.
73
+
| <spanclass="prop-name">trackFalse</span> | <spanclass="prop-name">.MuiSlider-trackFalse</span> | Class name applied to the track element if `track={false}`.
74
+
| <spanclass="prop-name">trackInverted</span> | <spanclass="prop-name">.MuiSlider-trackInverted</span> | Class name applied to the track element if `track="inverted"`.
75
+
| <spanclass="prop-name">thumb</span> | <spanclass="prop-name">.MuiSlider-thumb</span> | Class name applied to the thumb element.
76
+
| <spanclass="prop-name">thumbColorPrimary</span> | <spanclass="prop-name">.MuiSlider-thumbColorPrimary</span> | Class name applied to the thumb element if `color="primary"`.
77
+
| <spanclass="prop-name">thumbColorSecondary</span> | <spanclass="prop-name">.MuiSlider-thumbColorSecondary</span> | Class name applied to the thumb element if `color="secondary"`.
78
+
| <spanclass="prop-name">active</span> | <spanclass="prop-name">.MuiSlider-active</span> | Pseudo-class applied to the thumb element if it's active.
79
+
| <spanclass="prop-name">focusVisible</span> | <spanclass="prop-name">.Mui-focusVisible</span> | Pseudo-class applied to the thumb element if keyboard focused.
80
+
| <spanclass="prop-name">valueLabel</span> | <spanclass="prop-name">.MuiSlider-valueLabel</span> | Class name applied to the thumb label element.
81
+
| <spanclass="prop-name">mark</span> | <spanclass="prop-name">.MuiSlider-mark</span> | Class name applied to the mark element.
82
+
| <spanclass="prop-name">markActive</span> | <spanclass="prop-name">.MuiSlider-markActive</span> | Class name applied to the mark element if active (depending on the value).
83
+
| <spanclass="prop-name">markLabel</span> | <spanclass="prop-name">.MuiSlider-markLabel</span> | Class name applied to the mark label element.
84
+
| <spanclass="prop-name">markLabelActive</span> | <spanclass="prop-name">.MuiSlider-markLabelActive</span> | Class name applied to the mark label element if active (depending on the value).
85
85
86
86
You can override the style of the component thanks to one of these customization points:
0 commit comments