这是 Web Device layout component,不是 AUP primitive,不是 AUP Web-only widget,也不是 Markdown 指令。
Default theme 包:providers/runtime/web-device/themes/default/components/hero-banner/(manifest.json + render.js)。经 layout 组件解析链(runtime surface → theme → 可选 site override)。
用途
首页 hero:标题、副标题与主/次 CTA。
边界
- 不要把它写成 AUP primitive,也不要放在
docs/aup/primitives/下。 - 不要在本页混写多个 layout component 的合同。
- 作者可见合同以 manifest props 为准;发明的 props 不可移植。
作者入口
layout.aup
常见作者 props(来自 manifest):title, subtitle, primaryAction, secondaryAction, keywords
表面
layout(主题支持时也含 narrow)。不是 document Markdown 指令表面。
公共状态
released
Fallback
缺 media 时无媒体块。
Sample
本页无独立 docs-safe live mock。合同由挂载该单元的站点 layout.aup(或 docs 壳)证明。作者源从证据路径复制;勿发明超出目标 manifest.json 的 props。
证据
| 项 | 路径 |
|---|---|
| Theme 包 | providers/runtime/web-device/themes/default/components/hero-banner/ |
| Manifest | …/hero-banner/manifest.json |
| Renderer | …/hero-banner/render.js |
| 内部矩阵 | docs/aup/capability-matrix.md §3(内部,不对外路由) |
| 矩阵行概念 | layout-component · hero-banner |
备注
可能带 script.js 做动效。