Loading...
Loading...
Opinionated constraints for building better user interfaces. Triggers on building or reviewing web components, pages, forms, modals, animations, or any frontend UI work. Covers accessibility, focus states, touch interactions, and performance.
npx skill4agent add heykvnzhao/dotfiles web-ui-best-practicesweb-ui-best-practices <file>motion/reactframer-motiontw-animate-csscnclsxtailwind-mergeBase UIRadixReact-AriaBase UIaria-labelAlertDialogh-screenh-dvhinputtextarea<a><Link>useStatenuqstouch-action: manipulation-webkit-tap-highlight-coloroverscroll-behavior: containinertautoFocustransformopacitywidthheighttopleftmarginpaddingbackgroundcolorease-out200msprefers-reduced-motiontransition: alltransform-origintext-balancetext-prettytabular-numstruncateline-clampletter-spacingtracking-*…..."""10 MB⌘ K…"Loading…""Saving…"font-variant-numeric: tabular-numsmin-w-0z-indexz-*size-*w-*h-*env(safe-area-inset-*)overflow-x-hiddencolor-scheme: dark<html><meta name="theme-color">background-colorcolor<select>Intl.DateTimeFormatIntl.NumberFormatAccept-Languagenavigator.languagesonChangevaluedefaultValuesuppressHydrationWarninghover:widthheight<img>loading="lazy"priorityfetchpriority="high"blur()backdrop-filterwill-changeuseEffectvirtuacontent-visibility: autogetBoundingClientRectoffsetHeightoffsetWidthscrollTop<link rel="preconnect"><link rel="preload" as="font">font-display: swap&user-scalable=nomaximum-scale=1onPastepreventDefaulttransition: alloutline-nonefocus-visibleonClick<a><Link><div><span><button>.map()aria-labelIntl.*autoFocusaria-label<label>aria-labelonKeyDownonKeyUp<button><a><Link><div onClick>altalt=""aria-hidden="true"aria-live="polite"<button><a><label><table><h1><h6>scroll-margin-topfocus-visible:ring-*outline-noneoutline: none:focus-visible:focus:focus-withinautocompletenametypeemailtelurlnumberinputmodeonPastepreventDefaulthtmlForspellCheck={false}…autocomplete="off"beforeunload