Skip to content
  • Android
  • iOS
  • Web

Confetti

Show a short celebration after a user action.

Engine API NConfettinayan-ui/components

Live examples

Example.tsx

Attributes

NConfetti attributes
NameTypeDefaultDetails
colorsundefinedOptionalSemantic theme-token overrides, scoped to NTheme and its descendants.
confettiColorsreadonly string[]Optional
countnumberOptional
durationnumberOptionalSeconds; default 1.4, clamped to 0.1..10.
runnumberRequiredChange this positive value to start another celebration. Zero is idle.

Tags