跳到內容

ProseSection (am-prose-section)

am-prose-section 提供內容頁正文所需的寬度、節奏與基本 typography 規則,讓文章 body 不需要回到 ad hoc class 疊加。

  • 內建 SectionContainer
  • 支援 eyebrowtitlelead
  • size 可選 smmd
  • 預設 slot 承載文章正文
<ProseSection title="Why it matters" lead="Page-level content patterns reduce editor-specific shells.">
<p>Astromer should own the article body container.</p>
<h3>Stable defaults</h3>
<ul>
<li>Readable width</li>
<li>Consistent spacing</li>
<li>Reusable heading rhythm</li>
</ul>
</ProseSection>

詳見 playground /playground/article/ 範例。