Why this matters
Improves visual consistency, reduces duplicate code, and speeds up future UI changes.
Avoid re-creating existing UI components or duplicating styles (CSS/Tailwind) when the company design system already provides an official component. If the PR touches UI and a design system entry point is referenced (e.g., `ui/index.ts`, `design-system.md`), use it as the source of truth and suggest the equivalent official component.
Improves visual consistency, reduces duplicate code, and speeds up future UI changes.
Side-by-side examples engineers can pattern-match during review.
<button className="px-4 py-2 rounded bg-blue-600">Pay</button> // custom copyimport { Button } from "@company/ui";
<Button variant="primary">Pay</Button>New bespoke button/card styles duplicating DSUse official design system componentFrom the same buckets as this rule.