Slider

A slider allows quickly selecting a value from a range. Common uses include seeking through audio or video, changing a volume level, or setting values in image editors.

Examples

Default

Thumb Ripple

Tick Marks

Value Indicator

Material 3 Value Indicator

Material 3 Latest Design

Normally, the slider doesn’t support the latest Material 3 design, but you can use its design tokens and a few tricks to style it as close as possible to the Material 3 slider.

See Material 3 Slider for Latest Material 3 Design slider.

Gradient Track

In this example, the slider is styled as a YouTube video player progress bar using the track-active-gradient token, which applies a linear gradient to the active track. You can also apply a gradient to the inactive track using the track-inactive-gradient token.

To see the result more clearly, use the dark mode by clicking the theme toggle button on the top navigation bar.

Customization

Supported Classes

Supported Tokens

Thumb

Track

Ticks

Value Indicator

Animation

Others

Last modified: Oct 19, 2025: refactor(docs): Reorganize the folder structure of component examples (8271c2e)