Heading
Heading components for your MDX documentation
The heading component which automatically adds the id prop.
Usage
Add it to your MDX components, from h1 to h6.
We use cookies
Essential cookies keep the app working. Optional analytics, support, and marketing cookies help us improve the site and services. Cookie Policy.
Heading components for your MDX documentation
The heading component which automatically adds the id prop.
Add it to your MDX components, from h1 to h6.
import { Heading } from 'fumadocs-ui/components/heading';
<MDX
components={{
h1: (props) => <Heading as="h1" {...props} />,
h2: (props) => <Heading as="h2" {...props} />,
h3: (props) => <Heading as=