loaders
Installation
SKILL.md
If .ux-profile.md exists at the project root, read it before adding loading UI.
Intent
Loading feedback should match wait time so the interface feels instant when it is, honest when it isn't, and stable when content is slow. Wrong loader choice causes flicker, anxiety, or layout jump.
Hard Rules (Non-Negotiable)
- Duration < 100ms: show no loader. Execute immediately; a spinner under 100ms flickers and feels slower.
- Duration 100ms–1000ms: use an inline spinner or status indicator on the triggering control (button disabled state + spinner, or adjacent inline status). Localize feedback to where the user acted.
- Duration > 1000ms for full-page or content blocks: render a structural skeleton matching the incoming layout geometry. Never use a giant centered full-page spinner for content loads.