# Better Icon and Label Alignment

DevFeed: [Better Icon and Label Alignment](<https://devfeed.tech/articles/better-icon-and-label-alignment-45248.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/aligning-list-icons/>)

Author: Ahmad Shadeed

Published: 2026-09-15T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [HTML](<https://devfeed.tech/topics/html.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [css](<https://devfeed.tech/tags/css.md>), [flexbox](<https://devfeed.tech/tags/flexbox.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>)

## AI overview

A tutorial on aligning icons with labels in multi-line list items. It presents separate approaches for icons in the HTML markup and icons added with pseudo-elements, explaining how flexbox, line height, and responsive changes affect alignment.

## Source excerpt

There is a common design pattern that sometimes gets missed or overlooked. It's having a list of items, each with an icon. When the text is one line, the icon is centered, but when the text has multiple lines, the icon is still centered but looks odd.