This skill should be used when building or modifying frontend components. References DESIGN.md tokens for consistent UI, covers component composition, animations, and accessibility.
All UI decisions reference DESIGN.md at the project root. That file defines:
Always check DESIGN.md before creating a new component.
components/ui/ directory for shadcn components only. Custom components go in feature directories.loading.tsx route files for page-level loading.--destructive color token for error states.Always wrap animations:
const prefersReducedMotion = useReducedMotion();
// Skip animation if user prefers reduced motion
md (768px).alt textaria-label or paired sr-only span<nav>, <main>, <section>, <button><label> elements