List can be used to create a list of data.
List
ListItem
import { List, ListItem } from "@dreamy-ui/react/rsc";
<List> <ListItem>i5-10400f</ListItem> <ListItem>RTX 4060ti</ListItem> <ListItem>32GB RAM</ListItem> </List>
Simply pass the ordered prop to the List component to create an ordered list. It will render ol tag, instead of ul.
ordered
ol
ul
<List ordered> <ListItem>i5-10400f</ListItem> <ListItem>RTX 4060ti</ListItem> <ListItem>32GB RAM</ListItem> </List>