A short Tailwind CSS tutorial that builds a ListItemIcon component for list items using utility classes such as flex, items-center, p-4, border-b and font-medium. It suits people who want to style simple UI components with Tailwind.
What youβll learn
βStyle a list item with Tailwind utility classes such as flex and items-center
βAdd padding, bottom borders and font weight to a UI list component