how to align horizontal icon and text in material ui
问题 I am a newbie in material ui, now my icon and text is not aligned : my desired results: my code is : <div style={{ display: 'inline-flex', VerticalAlign: 'text-bottom', BoxSizing: 'inherit', textAlign: 'center', AlignItems: 'center' }}> <LinkIcon className={classes.linkIcon} /> revolve </div> It has cost me two days, I even tried grid and row, but not work. Can anyone help me? 回答1: This works perfectly! <div style={{ display: 'flex', alignItems: 'center' }}> <LinkIcon /> <p>revolve</p> </div>