Skip to main content

Type Alias: ListVariant

ListVariant = "plain" | "unordered" | "ordered"

Defined in: components/List/List.tsx:53

Whether the items are ordered, and whether the marker shows.

unordered/ordered are the two semantics; plain keeps <ul> semantics and hides the marker, which is the shape most product lists want — a feature list, a summary — and the one that otherwise gets hand-rolled with list-style: none.