content

Tailwind CSS List

Create attractive lists using Tailwind CSS, a potent tool for styling lists, improving readability, and enhancing user experience.

Utilize the list-disc class for bulleted lists and the list-decimal class for numeric lists. For further information, consult the Tailwind documentation on List Style Type.

Utilize the list-inside and list-outside utility classes to manage the position of list markers and text indentation within a list. Refer to the Tailwind documentation on List Style Position for more details.

This example uses list-inside.

This example uses list-outside.

Utilize the list-image-[url(svg-url)] utilities to manage the marker image for list items. Refer to the Tailwind documentation on List Style Image for more details.

This showcases the process of incorporating a custom marker with various styles. Although it presently displays the primary color, the color can be adjusted as needed.

Illustration of a solid color example.

Illustration of a soft color example.

An instance showcasing an outline example.

Basic Description list example.

Tailwind offers the marker: modifier, allowing us to adjust the color of markers. Refer to the Tailwind documentation on Marker for more details.

A basic form of the inline list with dotted separator.