mirror of
https://github.com/upstash/context7.git
synced 2026-09-14 19:09:34 +08:00
6d777619c2
Co-authored-by: Context7 Agent <docs-agent@context7.com> Co-authored-by: Josh <josh@upstash.com> Co-authored-by: context7[bot] <236830434+context7[bot]@users.noreply.github.com>
29 lines
528 B
Plaintext
29 lines
528 B
Plaintext
---
|
|
title: Panel
|
|
description: Place custom content in the right column
|
|
---
|
|
|
|
A top-level `<Panel>` replaces the table of contents for that page.
|
|
|
|
## Usage
|
|
|
|
```mdx
|
|
<Panel>
|
|
<Card title="Need help?" href="/support">
|
|
Contact the support team.
|
|
</Card>
|
|
</Panel>
|
|
```
|
|
|
|
A page can have one panel. API examples use the same right column.
|
|
|
|
## Example
|
|
|
|
See the panel in the right sidebar. On mobile, the panel is hidden.
|
|
|
|
<Panel>
|
|
<Card title="Need help?" href="/docs7/quickstart">
|
|
Open the Docs7 quickstart.
|
|
</Card>
|
|
</Panel>
|