mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
40d2e2cd2d
* Add proper language support for syntax highlighting to all code blocks * Camel case inline code
22 lines
676 B
Plaintext
22 lines
676 B
Plaintext
---
|
|
title: 'Panel'
|
|
description: 'Specify the content of the right side panel'
|
|
icon: 'panel-right'
|
|
---
|
|
|
|
You can use the `<Panel>` component to customize the right side panel of a page with any components that you want.
|
|
|
|
If a page has a `<Panel>` component, any [RequestExample](/components/examples#request-example) and [ResponseExample](/components/examples#response-example) components must be inside `<Panel>`.
|
|
|
|
The components in a `<Panel>` will replace a page's table of contents.
|
|
|
|
````mdx
|
|
<Panel>
|
|
<Info>Pin info to the side panel. Or add any other component.</Info>
|
|
</Panel>
|
|
````
|
|
|
|
<Panel>
|
|
<Info>Pin info to the side panel. Or add any other component.</Info>
|
|
</Panel>
|