Skip to Content
🎉 Nextra 4.0 is released. dimaMachina is looking for a new job or consulting .
APIuseMDXComponents

useMDXComponents Function

Get current MDX components.

Exported from nextra/mdx-components.

Signature

Parameters:
NameTypeDefault
componentsMDXComponents

An object where:

  • The key is the name of the HTML element to override.
  • The value is the component to render instead.
Returns:
DefaultMDXComponents & components

The current set of MDX components.