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/weight-match-action.md
1---2title: Match Sound Weight to Action3impact: MEDIUM4tags: weight, action, importance5---67## Match Sound Weight to Action89Sound weight should match action importance.1011**Incorrect (fanfare for toggle):**1213```tsx14function handleToggle() {15playSound("triumphant-fanfare");16setEnabled(!enabled);17}18```1920**Correct (weight matches action):**2122```tsx23function handleToggle() {24playSound("soft-click");25setEnabled(!enabled);26}2728function handlePurchase() {29playSound("success-chime");30completePurchase();31}32```33