跳到內容
調色盤星雲光譜
選擇版面配色

即時套用,保留目前的亮暗模式。

ReferenceList (am-reference-list)

ReferenceList 以有序清單呈現 consumer 提供的來源資料。元件只呈現標題、發布者與日期文字,不判斷來源品質或主張是否受到來源支持。

  • 每筆資料必填 title;href、publisher、publishedAt、accessedAt 為選填字串
  • 只有提供 href 時,來源標題才會成為連結;不會自動另開分頁
  • 日期以 consumer 傳入的字串顯示,不解析、不補預設日期
  • title 預設為 References;空 items 不輸出區塊
  • 元件不提供文中引用錨點;來源 ID 與 inline citation 待實際 consumer 資料支持後再決定
<ReferenceList
items={[
{
title: "Game rules",
href: "https://example.com/rules",
publisher: "Example publisher",
publishedAt: "2026-09-29",
accessedAt: "2026-09-29",
},
{ title: "Offline source supplied by the consumer" },
]}
/>