Skip to content

Review List

fd-review-list standardizes the repeated review-before-submit shell for consequential submissions. It presents label and value pairs, with optional change links, without taking over workflow progression, attestation, or submit behavior.

Supporting primitive

fd-review-list turns repeated review markup into one semantic description-list pattern. Keep change targets, attestation copy, and final submit actions outside the component.

When to use

  • A workflow needs review-before-submit — Use it when the person should confirm values before creating an official record.
  • The review state repeats the same label and value shell — Standardize that structure instead of hand-authoring it every time.
  • You need optional change actions — Provide explicit change links only when the editing path exists.

When not to use

  • Do not use it as a summary card for unrelated metrics — This component is for review-before-submit content.
  • Do not use it to store workflow state — Build the items array from the page or application state.
  • Do not hide key review protections inside it — Attestation, warnings, and submit controls still belong to the workflow page.

Examples

Review list overview — semantic review rows with optional change links. View in Storybook →

Properties

NameTypeDefaultDescription
heading`stringundefined`undefined
heading-level234
density"default""compact"default
dividersbooleanfalseAdds row dividers.
itemsArray<{ label: string; value?: string; href?: string; changeLabel?: string; emptyText?: string }>[]Review rows to render.

CSS custom properties

NameDefaultDescription
--fd-review-list-gapvar(--fdic-spacing-md, 16px)Gap between the optional heading and the list.

Shadow parts

NameDescription
baseOuter review section.
headingOptional review heading.
listDescription list wrapper.
termReview row label.
detailReview row value cell.
detail-layoutLayout wrapper inside each detail cell.
valueReview value text.
value-emptyEmpty-value treatment.
change-linkOptional change action.

Accessibility

  • fd-review-list renders a semantic <dl> so label and value pairs stay associated for assistive technologies.
  • Change links remain authored anchors. The component does not intercept or reroute them.
  • Use concise labels and complete review values so the list is understandable out of context.

Known limitations

  • items is a JavaScript property rather than a string attribute.
  • This component does not currently support fully custom row markup inside the shell.
  • Review orchestration, attestation, and submit actions stay outside the component by design.