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
)
Content copied to clipboard
ProgressbarIntermediate
fun ProgressbarIndeterminate(
intent: ProgressbarIntent,
isRounded: Boolean
)
Content copied to clipboard
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