Frontend UI Engineering
Overview
Frontend code is user-facing. Quality here directly affects perception of the entire product.
When to Use
- Building or modifying UI components and pages
- Implementing design system elements
- Addressing accessibility, responsiveness, or frontend performance
Core Principles
- Accessibility is not optional (semantic HTML, keyboard, ARIA, contrast)
- Mobile-first / responsive by default
- Prefer composition and clear component boundaries
- Avoid unnecessary re-renders and large bundles
- Match the existing design system when one exists
Process
- Understand the user goal and interaction
- Check existing components / design system before creating new ones
- Implement with semantic structure and accessibility in mind
- Handle loading, empty, and error states
- Verify keyboard navigation and basic screen reader behavior
- Check responsiveness at key breakpoints
Checklist
- Semantic HTML elements used appropriately
- Interactive elements are keyboard accessible
- Color contrast meets WCAG AA at minimum
- Loading / empty / error states exist
- No obvious layout shift or overflow issues
- Component API is clear and documented if shared
Verification
- Visual and interaction review in the browser
- Basic accessibility checks pass
- No major performance red flags (large unnecessary JS, layout thrashing)