feat: modernize progress indicators to latest Material Design specs#4995
Open
adrcotfas wants to merge 4 commits into
Open
feat: modernize progress indicators to latest Material Design specs#4995adrcotfas wants to merge 4 commits into
adrcotfas wants to merge 4 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Simulator.Screen.Recording.-.iPhone.16e.-.2026-06-11.at.16.59.00.mov
Motivation
Replace the legacy ProgressBar and ActivityIndicator with a token-driven
Material Design 3 progress indicator family. Four components cover the
linear and circular shapes, each in a standard and an expressive "wavy"
variant, with determinate and indeterminate modes.
LinearProgressIndicatorandCircularProgressIndicator(standard)and
LinearWavyProgressIndicatorandCircularWavyProgressIndicator(expressive wave), built on react-native-svg with shared spec tokens.
progressaccepts a number or a ReanimatedSharedValue<number>, so acaller-animated value glides on the UI thread with no re-renders.
sweep for circular; two-segment travel for linear).
amplitude,wavelength, andwaveSpeedare configurable. Wave geometryis computed in worklets (
wavePath.ts).to the standard indeterminate
CircularProgressIndicator.react-native-svgas a dependency (peer >= 15.0.0).BREAKING CHANGE: The progress components were redesigned for MD3 with no deprecation aliases.
ProgressBarandProgressBarPropsare removed. UseLinearProgressIndicator(orLinearWavyProgressIndicator). Theprogressprop is the same 0..1 range;indeterminatereplaces the oldindeterminate behavior.
ActivityIndicatorandActivityIndicatorPropsare removed. UseCircularProgressIndicator indeterminate.Related issue
Test plan