Skip to content

VBC-030: confetti-overuse ​

warning

Category: ux-dx
Analysis: Regex (line by line)
File types: .js, .ts, .tsx, .astro
Scope: source code only, ignoring anything inside strings and comments
Tags: ux performance

What it reports ​

Confetti or particle animation library detected at line {line}. Overusing celebration effects devalues them and creates visual noise. Reserve confetti for genuinely significant milestones (first purchase, account creation) rather than every successful action.

Flagged ​

js
confetti({ particleCount: 120 });

Not flagged ​

js
showSuccessToast();

Pattern ​

regex
(confetti\(|canvas-confetti|party\.js|tsParticles\.load)

Released under the MIT License.