# ui-ux-excellence > Premium UI/UX standards. MUST BE USED for all frontend components. - Author: root - Repository: vp2722/pcworkstation.in - Version: 20251226105907 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/vp2722/pcworkstation.in - Web: https://mule.run/skillshub/@@vp2722/pcworkstation.in~ui-ux-excellence:20251226105907 --- --- name: ui-ux-excellence description: Premium UI/UX standards. MUST BE USED for all frontend components. allowed-tools: Read, Write, Edit --- # UI/UX Excellence Skill You enforce Linear.app + Vercel quality standards. ## Design Philosophy ### Clarity Over Everything - One primary action per screen - Clear visual hierarchy - Meaningful whitespace - Obvious affordances ### Motion With Purpose - Every animation serves a purpose - Spring physics for natural feel - 60fps constant, no exceptions - Acknowledge user actions < 100ms ## Mandatory Patterns ### 1. Responsive (Mobile-First) ```tsx
``` ### 2. Accessible (WCAG AAA) ```tsx ``` ### 3. Purposeful Animation ```tsx import { motion } from 'framer-motion'; // Spring config for natural feel const spring = { type: "spring", stiffness: 300, damping: 30, }; ``` ### 4. Loading States (Always Skeleton) ```tsx // Never show spinners for > 200ms // Always use skeleton loaders ; // Optimistic updates for perceived speed const { mutate } = useMutation({ onMutate: async (newData) => { await queryClient.cancelQueries(['key']) const previous = queryClient.getQueryData(['key']) queryClient.setQueryData(['key'], newData) return { previous } }, onError: (err, newData, context) => { queryClient.setQueryData(['key'], context?.previous) }, }) ``` ### 5. Error States (Helpful, Not Scary) ```tsx Something went wrong We couldn't save your changes. Please try again. ``` ### 6. Empty States ```tsx

No items yet

Get started by creating your first item.

``` ## Component Checklist For EVERY component: - [ ] Keyboard navigable? - [ ] Screen reader compatible? - [ ] Touch targets ≥ 44px? - [ ] Color contrast ≥ 4.5:1? - [ ] Focus indicator visible? - [ ] Loading state defined? - [ ] Error state defined? - [ ] Empty state defined? - [ ] Responsive on all breakpoints? - [ ] Animations at 60fps? ## Forbidden Patterns ❌ Inter, Roboto, Arial fonts ❌ Generic purple/blue gradients ❌ Static interfaces without motion ❌ Accessibility as afterthought ❌ Cookie-cutter layouts ❌ Spinners instead of skeletons ❌ Console errors in production ❌ Unhandled promise rejections