- Android
- iOS
- Web
Confetti
Show a short celebration after a user action.
Engine API NConfettinayan-ui/components
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| colors | undefined | Optional | Semantic theme-token overrides, scoped to NTheme and its descendants. |
| confettiColors | readonly string[] | Optional | |
| count | number | Optional | |
| duration | number | Optional | Seconds; default 1.4, clamped to 0.1..10. |
| run | number | Required | Change this positive value to start another celebration. Zero is idle. |