Add the Confetti element to your mobile view and size it to cover the area where the effect should appear. Place it above your content; taps pass through to the elements beneath it.
Rebuild your simulated device or development build after installing the plugin.
Trigger the animationEnable
Play automatically to start when the element mounts, or use the
Play action in a workflow—for example, after a successful submission or completed task.
Run playback actions after the element's
Ready event, or when
Is ready is yes.
Actions
- Play: starts or restarts the animation.
- Pause: pauses playback.
- Resume: continues from the paused position.
- Stop: resets and stops the effect.
- Clear error: clears the error states.
Appearance
- Color 1–4: set a custom palette, or leave blank for the default colors.
- Number of pieces: controls the amount of confetti (1–500).
- Piece width, height, and corner radius: control the size and shape.
- Piece style: solid or glossy.
- Gravity: higher values make pieces fall faster.
- Horizontal drift and Flip intensity: control movement.
- Fade out: fades pieces toward the end.
Events and statesUse
Started,
Paused,
Resumed,
Stopped, and
Finished to trigger follow-up workflows. Finished fires on natural completion; stopping the effect triggers Stopped instead.
Is playing,
Is paused, and
Status expose the current playback state for conditions and workflows.
TroubleshootingCheck
Error code and
Error message if the effect does not load. Confirm that your native build includes the plugin's dependencies and rebuild if needed. The device's Reduce Motion setting may reduce or suppress the animation.