--- title: Heading description: Heading components for your MDX documentation preview: heading --- The heading component which automatically adds the `id` prop. ## Usage Add it to your MDX components, from `h1` to `h6`. ```mdx import { Heading } from 'fumadocs-ui/components/heading'; , h2: (props) => , h3: (props) => , h4: (props) => , h5: (props) => , h6: (props) => , }} /> ```