# Custom Sliders in Jetpack Compose

DevFeed: [Custom Sliders in Jetpack Compose](<https://devfeed.tech/articles/custom-sliders-in-jetpack-compose-25773.md>)

Original publisher: [Read original article](<https://www.sinasamaki.com/custom-material-3-sliders-in-jetpack-compose/>)

Author: sinasamaki

Published: 2024-09-26T21:56:18Z

Content type: tutorial

Language: en

Sources: [sinasamaki](<https://devfeed.tech/sources/sinasamaki.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [compose](<https://devfeed.tech/tags/compose.md>), [custom](<https://devfeed.tech/tags/custom.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [sliders](<https://devfeed.tech/tags/sliders.md>)

## AI overview

Jetpack Compose Material 3 sliders can be customized by supplying composables for the thumb and track. A custom track can calculate the active fraction using the slider's start and end values, so it also works with non-default ranges, then render the active and inactive sections with chosen UI elements. The excerpt begins a reusable line-slider example: it describes required value and change parameters, a step count where 0 gives smooth movement and higher counts add snapping points, a selectable value range, and a formatting function for text on the thumb. The example is incomplete in the supplied excerpt.

## Source excerpt

Create unique and delightful sliders for your app