Group code blocks together in tabs.
Wrap your code blocks around a CodeGroup component:
CodeGroup
pnpm add @nuxt/ui
Like the CodeBlock component, filenames, icons and copy buttons are automatically supported.
CodeBlock
export default defineNuxtConfig({ ui: { icons: ['heroicons', 'simple-icons'] } })
A code-block with automatic syntax highlighting, filename and copy button.
Field
A field, prop or parameter to display in your content.