Background
Currently, Links do not encourage the use of icons within the Link, though it is technically possible. The only use of an icon within a link that Codex documents is the External Link, which state that, "This icon cannot be replaced with other icons."
Buttons with icons only encourage the use of an icon on the left side only.
MenuButtons don't convey an example of text with an icon inside the button.
Goal
Allowing for, encouraging, and documenting more flexible options to include custom icons on either side of a Link, Button, and MenuButton will enable more design solutions in instances where text and an icon in an action like these is desired.
Without this flexibility, the system feels unnecessarily limiting.
Acceptance criteria
- Determine if this is something we would want to do
- Update aforementioned components to allow for said flexibility
- Create demos/props/examples demonstrating update