---
title: mountId
configName: html.mountId
---

# html.mountId

- **Type:** `string`
- **Default:** `'root'`

By default, the `root` element is included in the HTML template for component mounting, and the element id can be modified through `mountId`.

import RsbuildConig from '@site-docs-en/components/rsbuild-config-tooltip';

<RsbuildConig />
