Displays a list item marker to use with a number, a letter, or an icon.
This component is based on the span
element and supports common margin props m
, mx
, my
, ml
, mr
, mt
, mb
. View source
Use the color
prop to control the color of the marker.
Use the green and red markers with icons to indicate the status of a list item. The Marker automatically provides an appropriate icon size so that its shape remains a circle.
Use the high-contrast marker to indicate an active list item.
Use the size
prop to control the size of the Marker. Otherwise, the Marker size will be based on the font size of the parent element.