
Enables creation and styling of segmented displays in Compose applications, suitable for digital clocks, calculators, and more, with a demo app showcasing features.
Segmented displays are ubiquitous in the world of electronics. They are used in everything from digital clocks to thermostats to calculators to microwave ovens. This library provides a Composable function that can be used to create and style a segmented display in your Compose Multiplatform application.
Because this library is a Compose Multiplatform library, the following platforms are supported:
There are two modules in this project:
If using the kotlin multiplatform plugin, first, configure the compose plugin. Then add:
kotlin {
sourceSets {
commonMain.dependencies {
implementation("com.fsryan.ui:segmented-display:x.y.z")
}
}
}Otherwise, configure Compose in your project. Then add the following to the dependencies block:
dependencies {
implementation("com.fsryan.ui:segmented-display:x.y.z")
}Segmented displays are ubiquitous in the world of electronics. They are used in everything from digital clocks to thermostats to calculators to microwave ovens. This library provides a Composable function that can be used to create and style a segmented display in your Compose Multiplatform application.
Because this library is a Compose Multiplatform library, the following platforms are supported:
There are two modules in this project:
If using the kotlin multiplatform plugin, first, configure the compose plugin. Then add:
kotlin {
sourceSets {
commonMain.dependencies {
implementation("com.fsryan.ui:segmented-display:x.y.z")
}
}
}Otherwise, configure Compose in your project. Then add the following to the dependencies block:
dependencies {
implementation("com.fsryan.ui:segmented-display:x.y.z")
}