> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# 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`.

:::info
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to [Rsbuild - html.mountId](https://v2.rsbuild.dev/config/html/mount-id).
:::