frontend-ux

Installation
SKILL.md

Frontend UX Rules

What You Probably Got Wrong

"The button works." A clickable button is not enough. It must disable immediately, show a clear pending state, and stay locked until onchain confirmation.

"Addresses are just strings." Address UX needs validation, safe formatting, copy support, explorer linking, and ENS/name handling where available.

"Token amounts are clear." Raw token values without USD context force users to guess risk and value. Show dollar context anywhere amounts matter.


Rule 1: Every Button Interacting Onchain Needs Its Own Pending State

Any button that triggers an onchain transaction must:

  1. Disable immediately on click
  2. Show spinner + action text (Approving..., Staking...)
  3. Stay disabled until chain state confirms completion
  4. Show success/error feedback when done
Installs
37
GitHub Stars
263
First Seen
Feb 19, 2026
frontend-ux — austintgriffith/ethskills