Delight

From aladicf/better-web-ui · View interactive version

Delight is an AI agent skill from the GitHub repository aladicf/better-web-ui. Add moments of joy, personality, and surprise through success states, empty states, loading moments, hover details, and celebratory polish once the fundamentals already work. Use when the user wants delight, charm, personality, or memorable micro-interactions—not when the main need is baseline clean

How to use this skill

Skill file

Identify opportunities to add moments of joy, personality, and unexpected polish that transform functional interfaces into delightful experiences.

MANDATORY PREPARATION

Users start this workflow with /delight. Once this skill is active, load $frontend-design — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow that protocol before proceeding — if no design context exists yet, you MUST load $setup first. Additionally gather: what's appropriate for the domain (playful vs professional vs quirky vs elegant).


Assess Delight Opportunities

Identify where delight would enhance (not distract from) the experience:

  1. Find natural delight moments:
  1. Understand the context:
  1. Define delight strategy:

If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.

CRITICAL: Delight should enhance usability, never obscure it. If users notice the delight more than accomplishing their goal, you've gone too far.

Delight is not a license for random whimsy. The quieter the product category, the more subtle the delight should be.

Consult the ai slop detection reference so delight stays distinctive instead of sliding into generic trend decoration.

Consult the finishing touches when delight should come from upgraded defaults, accent borders, subtle background treatments, or unexpected component presentation.

Delight Principles

Follow these guidelines:

Delight Amplifies, Never Blocks

Surprise and Discovery

Appropriate to Context

Personality, Not Noise

Compound Over Time

Delight Techniques

Add personality and joy through these methods:

Supercharge the Defaults

Micro-interactions & Animation

Button delight:

/* Satisfying button press */
.button {
  transition: transform 0.1s, box-shadow 0.1s;
}
.button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Ripple effect on click */
/* Smooth lift on hover */
.button:hover {
  transform: translateY(-2px);
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1); /* ease-out-quart */
}

Loading delight:

Success animations:

Hover surprises:

Personality in Copy

Playful error messages:

"Error 404"
"This page is playing hide and seek. (And winning)"

"Connection failed"
"Looks like the internet took a coffee break. Want to retry?"

Encouraging empty states:

"No projects"
"Your canvas awaits. Create something amazing."

"No messages"
"Inbox zero! You're crushing it today."

Playful labels & tooltips:

"Delete"
"Send to void" (for playful brand)

"Help"
"Rescue me" (tooltip)

IMPORTANT: Match copy personality to brand. Banks shouldn't be wacky, but they can be warm.

Illustrations & Visual Personality

Custom illustrations:

Icon personality:

Background effects:

Satisfying Interactions

Drag and drop delight:

Toggle switches:

Progress & achievements:

Form interactions:

Sound Design

Subtle audio cues (when appropriate):

IMPORTANT:

Easter Eggs & Hidden Delights

Discovery rewards:

Seasonal touches:

Contextual personality:

Loading & Waiting States

Make waiting engaging:

Loading messages — write ones specific to your product, not generic AI filler:
- "Crunching your latest numbers..."
- "Syncing with your team's changes..."
- "Preparing your dashboard..."
- "Checking for updates since yesterday..."

WARNING: Avoid cliched loading messages like "Herding pixels", "Teaching robots to dance", "Consulting the magic 8-ball", "Counting backwards from infinity". These are AI-slop copy — instantly recognizable as machine-generated. Write messages that are specific to what your product actually does.

Celebration Moments

Success celebrations:

Milestone recognition:

Implementation Patterns

Animation libraries:

Sound libraries:

Physics libraries:

IMPORTANT: File size matters. Compress images, optimize animations, lazy load delight features.

NEVER:

Verify Delight Quality

Test that delight actually delights:

Remember: Delight is the difference between a tool and an experience. Add personality, surprise users positively, and create moments worth sharing. But always respect usability - delight should enhance, never obstruct.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.