Object

ContentAlpha

Default alpha levels used by Material components.

Source set: Common
public object ContentAlpha

Default alpha levels used by Material components.

See LocalContentAlpha.

Properties

high

Source set: Common
public val high: Float

A high level of content alpha, used to represent high emphasis text such as input text in a selected TextField.

medium

Source set: Common
public val medium: Float

A medium level of content alpha, used to represent medium emphasis text such as placeholder text in a TextField.

disabled

Source set: Common
public val disabled: Float

A low level of content alpha used to represent disabled components, such as text in a disabled Button.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: