Package-level declarations
Types
A PlaceholderHighlight that draws a circular reveal effect.
A PlaceholderHighlight implementation that fades a solid color in and out.
A PlaceholderHighlight that draws a liquid, flowing shimmer effect.
Drives a single shared 0f..1f highlight animation that every descendant placeholder reads from, so a list of skeleton items shimmers as one coordinated wave instead of each cell ticking on its own clock.
Contains the default PlaceholderHighlight implementations for common placeholder effects.
Defines the visual highlight animation applied to a placeholder.
Theme-level defaults for the placeholder modifier.
A PlaceholderHighlight that pulses the highlight color in and out.
A PlaceholderHighlight that applies a shimmer effect.
Properties
The default coordinator spec — a 1700ms linear cycle that loosely matches PlaceholderDefaults.shimmer's feel.
CompositionLocal carrying the active PlaceholderCoordinator, or null when no PlaceholderSurface wraps the current call site.
CompositionLocal that supplies the active PlaceholderTheme to descendant Modifier.placeholder calls. Defaults to PlaceholderTheme.Default.
Functions
Builds a PlaceholderTheme derived from the current MaterialTheme.
Draws a placeholder effect over content while it is loading.
Wraps content in a scope where every Modifier.placeholder(...) call shares a single PlaceholderCoordinator. Use this around a list, card grid, or any region where you want the shimmer to read as one synchronized motion.
Draws a multi-line text-shaped placeholder over content while it is loading.
Remembered variant of materialPlaceholderTheme for cases where you want to capture the theme once and reuse it (e.g. across multiple ProvidePlaceholderTheme boundaries).