Skip to main content

List

A List consists of grouped related content. List items are preceded by either a consecutive number (for ordered lists) or a bullet point (for unordered lists). Lists can be arbitrarily nested.

Import

import { List } from '@dynatrace/strato-components-preview/typography';

Use cases

CodeSandbox

Props

ListProps

extends
NameTypeDefaultDescription
ordered?
falseWhether the List is ordered or not. This changes whether numbers or bullets are used.
textStyle?
'base'Sets the text style for the List.
fontStyle?
'text'Sets the text style for the List.
start?
1Sets the starting number of the first item in an ordered list. The value is always treated as an integer (floor).
Still have questions?
Find answers in the Dynatrace Community