Simple Icon List Template

A clean, modern list that replaces default bullets with custom icons for enhanced visual appeal.

This template is perfect for feature lists, benefit rundowns, or any simple list where a visual cue is more effective than a standard bullet point.

A simple list with custom checkmark icons instead of bullets.

Get Source Code Preview

About this Template

This component provides a foundational pattern for creating an icon list. It uses a standard unordered list (ul) and replaces the default bullet style with custom, inline SVG icons. The layout uses Flexbox to ensure the icon and its corresponding text are always perfectly aligned, regardless of how many lines the text wraps to. It is lightweight, accessible, and self-contained.

Features

Code Breakdown

The core of the component is an unordered list, ul, with a class of .icon-list. CSS is used to remove the default list styling, including list-style: none and any default browser padding.

Each list item, li, is a flex container with display: flex applied. This places the SVG icon and the text content side-by-side. The gap property provides consistent spacing between them. The SVG itself is given a fixed width and height to maintain a uniform size, and a class for easy styling.

Code

Here's the full code for the template:

View Output