# frontend-patterns > Apply UI/UX patterns that improve usability and maintainability. - Author: z - Repository: tktk4751/superspec - Version: 20260127050940 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/tktk4751/superspec - Web: https://mule.run/skillshub/@@tktk4751/superspec~frontend-patterns:20260127050940 --- --- name: frontend-patterns description: Apply UI/UX patterns that improve usability and maintainability. --- # Frontend Patterns ## Defaults - Accessible components by default - Predictable state transitions - Component-level tests for key interactions ## Guidance - Separate data fetching from presentation where possible. - Avoid deeply nested state; prefer derived data. - Use consistent design tokens and spacing. ## Output - UI implementation notes or code adjustments ## Pitfalls to Avoid - Accessibility as an afterthought - Uncontrolled state sprawl