Skip to main content
Context7 MCP

Code groups

Show code examples in tabs
1 min read

Place titled code fences inside <CodeGroup>. Use <CodeBlock> when code comes from an MDX component.

Usage#

<CodeBlock> also accepts icon, highlight, focus, wrap, and expandable.

Example#

index.ts