Package-level declarations

Proressbar The progress bar component is used to display the length and your progression inside the process or to express a waiting time. This waiting time can be either determinate or indeterminate.

Variants

There are multiple variants available:

  • Determinate progress bar

  • Indeterminate progress bar

Light
Dark

Border

Progressbar come in 2 border shapes:

  • Square

  • Rounded (default)

Intents

Icon Buttons support all intents:

  • Main

  • Support

  • Accent

  • Basic

  • Success

  • Alert

  • Danger

  • Info

  • Neutral

Progressbar

fun Progressbar(
intent: ProgressbarIntent,
isRounded: Boolean,
progress: Float
)

ProgressbarIntermediate

fun ProgressbarIndeterminate(
intent: ProgressbarIntent,
isRounded: Boolean
)

Types

Link copied to clipboard

ProgressbarIntent is used to define the intent of the progressbars.

Functions

Link copied to clipboard
fun Progressbar(progress: () -> Float, modifier: Modifier = Modifier, intent: ProgressbarIntent = ProgressbarIntent.Basic, isRounded: Boolean = true)

Determinate Progressbar

Link copied to clipboard
fun ProgressbarIndeterminate(modifier: Modifier = Modifier, intent: ProgressbarIntent = ProgressbarIntent.Basic, isRounded: Boolean = false)

Intermediate Progressbar