---
id: portfolio.ds.reply-list
name: "Reply List"
type: component
status: active
relations: [{"type":"uses_token","target":"portfolio.ds.typography"},{"type":"uses_token","target":"portfolio.ds.color-text"},{"type":"uses_token","target":"portfolio.ds.max-widths"},{"type":"uses_token","target":"portfolio.ds.primitive-scale"}]
sources: ["packages/design-system/src/components/ReplyList.astro","apps/portfolio-site/src/design-system/docs/reply-list.astro","apps/portfolio-site/src/lib/designSystemRegistry.ts"]
catalog: ["apps/portfolio-site/src/design-system/docs/reply-list.astro"]
previews: ["apps/portfolio-site/src/design-system/docs/reply-list.astro"]
---
# Reply List

## Purpose
Present alternatives or a sequence of steps, including subitems that belong to a particular parent.

## Contract
- `ordered` is a boolean, default `false`. It selects native bullets (`ul`) or numbering (`ol`). Children inherit that type unless their parent item supplies `childrenOrdered`; for example, a numbered step can contain bullet points.
- Nested ordered markers include their parent number: the children of item 2 are 2.1, 2.2 and so on.
- Each item contains literal `text` and may have `children`. A nested list sits inside its parent `li`; an empty item array renders no list.
- Uses Body typography, `--color-text` and the `--measure-rich-text-copy` maximum width. Indentation is `--primitive-space-6`, except for mobile ordered lists: their marker column reserves `3ch` per level (two digits and a separator), so `10.` and `10.10` fit. Spacing between items and before subitems remains `--primitive-space-2`. The top-level list adds no outer margin.

## Use
Chat Assistant Message uses Reply List for authored list blocks. Review the Ordered switcher in isolation or compare both list types with surrounding paragraphs in the parent preview.

## Do Not Use
Do not pass HTML or Markdown expecting it to be interpreted.

## Accessibility
Preserve native list and list-item semantics. Use ordered lists when changing the order would change the meaning.

## Verification
Switch Ordered between false and true. Check that the same items remain visible, the second item's children read 2.1 and 2.2 in ordered mode, and unordered mode keeps its bullets.

## Enabled Profile Records
- Registry ID: reply-list.
- Canonical route: /design-system/reply-list/.
