Skip to main content
Official government website

List

Lists group related items, plain by default or with bullets or numbers.

Examples
HTML and React
Group
Content
On this page

Preview

List variants
Open in new tab

Lists are plain by default, with no markers and no indent, which suits lists of links or short rows. Add the --bullet modifier for an unordered list of items, or --number for steps that must happen in order. The React List renders a <ul> for the plain and bullet variants and an <ol> for the number variant.

Usage

When to use

  • Use a bulleted list for related items when their order does not matter.
  • Use a numbered list for steps, rankings or instructions where sequence matters.

When not to use

  • Do not use a list for values users need to compare across columns; use a table.
  • Do not use it for key–value facts or review answers; use a summary list.

Best practices

Keep list items parallel

Start items with the same kind of word or phrase and keep them similar in length. Introduce the list with a sentence that explains what the items share.

Use real list markup

Use ul or ol with li elements rather than typed bullets, line breaks or visual spacing. Keep each item focused; split complicated instructions into separate steps.