Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Living wiki of UI design patterns and best practices built with Fumadocs, Next.js, and Base UI components.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
rules/appropriate-no-punishing.md
1---2title: Informative Not Punishing Sound3impact: MEDIUM4tags: appropriate, error, tone5---67## Informative Not Punishing Sound89Sound should inform, not punish; avoid harsh sounds for user mistakes.1011**Incorrect (harsh buzzer):**1213```tsx14function ValidationError() {15playSound("loud-buzzer");16return <span>Invalid input</span>;17}18```1920**Correct (gentle alert):**2122```tsx23function ValidationError() {24playSound("gentle-alert");25return <span>Invalid input</span>;26}27```28