Search
MaterialComponentsDocs
Components overviewApp barBadgeButtonsButton groupButtonExtended FABFAB menuFABIcon buttonSplit buttonCardCarouselCheckboxChipsDate & time pickersDate pickerTime pickerDialogDividerListLoading & progressLoading indicatorProgressMenuNavigationNavigation barNavigation drawerNavigation railRadio buttonsSearchSelectSheetsBottom sheetSide sheetSliderSnackbarSwitchTabsText fieldToolbarTooltip

Slider

Choose a value or a range. Explore track sizes, steps, colors, and value indicators.

FactoryWeb ComponentsReactVueSvelteSolidJS

Accessibility

  • Each handle has role="slider", with aria-valuemin, aria-valuemax, aria-valuenow, aria-orientation, and aria-valuetext when a valueFormatter is set.
  • The handles are named by label; the web component's aria-label names them instead. On a range, each handle's limit is the other handle's value.
  • Disabled, the handles have aria-disabled and leave the tab order.
Keys Action
Arrows along the track One step in the direction of the track as drawn: Right raises, except in right-to-left layouts; Up raises on a vertical slider, except with topToBottom
Arrows across the track Up / Right raise, Down / Left lower
Shift + arrows Ten steps
Page Up / Page Down A tenth of the steps, between one and ten of them
Home / End The minimum / maximum, or the other handle on a range slider
Tab Moves between the handles of a range slider