ListItem

Single row inside List. Body HTML in props.text; optional markerStyle/markerIcon overrides the parent list defaults.

Required Props: id

Structure

Body copy in props.text; layout and markers come from List + row overrides.

Properties

PropertyTypeDescriptionExamples
textstring
HTML string for the row (paragraphs, spans, emphasis).
Default: "<p>List item</p>"
-
markerStylestring
inherit | bullet | check | dash | icon
Omit or set inherit to use the parent List marker; otherwise override for this row only.
-
markerIconobject
When markerStyle is icon, icon ref and size for this row.
-
canDeleteboolean
-
Default: true
-
canEditNameboolean
-
Default: true
-
customobject
-
-
classNamestring
Tailwind utilities on the li element.
text-base leading-relaxedtext-sm text-base-content/90
rootobject
-
-