Files
mintlify[bot] 4b465465dd translate: mirror boost: 3 frontmatter to es/fr/zh translations (#5671)
Generated-By: mintlify-agent

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
2026-05-05 17:33:20 +00:00

23 lines
736 B
Plaintext

---
title: "Panel"
description: "自定义文档页面右侧面板的内容,用于显示补充信息、示例或导航元素。"
keywords: ["sidebar"]
boost: 3
---
你可以使用 `<Panel>` 组件,在页面右侧面板中加入任意组件以实现自定义。
如果页面包含 `<Panel>` 组件,则所有 [RequestExample](/zh/components/examples#requestexample) 和 [ResponseExample](/zh/components/examples#responseexample) 组件都必须置于 `<Panel>` 内。
`<Panel>` 中的组件会替换页面的目录。
```mdx
<Panel>
<Info>将 Info 固定在侧边面板上,或添加任何其他组件。</Info>
</Panel>
```
<Panel>
<Info>将 Info 固定在侧边面板上,或添加任何其他组件。</Info>
</Panel>