Skip to main content
196

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
FormsAndroid

Rating

Named whole-number rating options with controlled values and read-only support.

Public APILumenRatingAndroid / Compose

Native example

Use Rating

Named whole-number rating options with controlled values and read-only support. Hosts own application state and business actions.

Rating rendered in the Android phone emulator Lumen playground
Captured exampleAndroid phone emulator
kotlin
LumenRating("Rating", rating, onValueChange)

Reference

Public API

The primary shared and platform-specific options exposed by LumenRating.

APIValues or typeDefaultDescription
host content and stateAdapter-specific public contractRequiredKeeps application data and behavior in the host.

Native behavior

Design and accessibility

When to use it

Named whole-number rating options with controlled values and read-only support. Hosts own application state and business actions.

Accessibility

Named whole-number rating options with controlled values and read-only support.

Shared component

Available on other platforms

React NativeApple / SwiftUI
Android docsCompose module