Sound for Confirmations
Sound is appropriate for confirmations: payments, uploads, form submissions.
Correct:
async function handlePayment() {
await processPayment();
playSound("success");
showConfirmation();
}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.
Sound is appropriate for confirmations: payments, uploads, form submissions.
Correct:
async function handlePayment() {
await processPayment();
playSound("success");
showConfirmation();
}