<li>

<li> is a Sectional component that defines an item in either an ordered list, <ol>, or an unordered list, <ul>.

Attributes and Properties

The <li> component does not have attributes.

Props for <li name="l">
PropertyType
$l.disabledboolean
$l.fixedboolean
$l.fixLocationboolean
$l.hiddenboolean
$l.texttext

Example: <ul> with nested <li>

<ul> renders an unordered list, with list items given by <li> children. <ul> is a block component and should not contain any components other than <li> children. Individual <li> children may themselves contain graphs, problems, paragraphs, and other content.


Example: <ol> with nested <li>

<ol> renders an ordered list, with list items given by <li> children. <ol> is a block component and should not contain any components other than <li> children. Individual <li> children may themselves contain graphs, problems, paragraphs, and other content.


Example: <li> with more content

<ul> and <ol> components can only take <li> children. Individual <li> children may themselves contain graphs, problems, paragraphs, and other content.