Offered in the input component already
Needed for: progress towards feature parity with OOUI (specifically for T259216: Migrate Special:GlobalWatchlist to Vue where the OOUI buttons have icons and the vue ones should too)
Description
Description
Related Objects
Related Objects
Event Timeline
Comment Actions
FYI you can already do this without a startIcon prop, because a button (unlike an input) can contain arbitrary content:
<wvui-button> <wvui-icon :icon="someIcon" /> Some text </wvui-button>
We're discussing whether to keep doing it this way or use a different approach at T278509: Add Button component to Codex
Comment Actions
As @roan mentioned that was possible by adding icons, also in successor toolkit Codex.