pnpm dlx dreamy add listList displays a collection of items in an organized format. Use it to present related content in an ordered or unordered structure.
- i5-10400f
- RTX 4060ti
- 32GB RAM
<List.Root>
<List.Item>i5-10400f</List.Item>
<List.Item>RTX 4060ti</List.Item>
<List.Item>32GB RAM</List.Item>
</List.Root>Simply pass the ordered prop to the List component to create an ordered list. It will render ol tag, instead of ul.
- i5-10400f
- RTX 4060ti
- 32GB RAM
<List.Root ordered>
<List.Item>i5-10400f</List.Item>
<List.Item>RTX 4060ti</List.Item>
<List.Item>32GB RAM</List.Item>
</List.Root>