> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superdoc.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Built-in UI

SuperDoc ships ready-made UI for the toolbar, comments panel, tracked-change review, and a few other surfaces. Configure it through the `modules` option: enable only what you need, swap any piece for your own component when you want to.

For new React apps that want full control over the UI, [Custom UI](https://docs.superdoc.dev/editor/custom-ui/overview.md) is the recommended path. Built-in UI stays supported for apps that prefer SuperDoc's components as-is.

```javascript theme={null}
const superdoc = new SuperDoc({
  selector: '#editor',
  document: 'contract.docx',
  modules: {
    toolbar: { selector: '#toolbar' },
    comments: { allowResolve: true },
    collaboration: { ydoc, provider },
    contextMenu: { includeDefaultItems: true },
    links: { popoverResolver: (ctx) => ({ type: 'default' }) }
  }
});
```

## Available built-in UI

> [card] [Comments](https://docs.superdoc.dev/editor/built-in-ui/comments.md)
>
> Threaded discussions and annotations

> [card] [Track Changes](https://docs.superdoc.dev/editor/built-in-ui/track-changes.md)
>
> Word-style revision tracking with accept/reject

> [card] [Toolbar](https://docs.superdoc.dev/editor/built-in-ui/toolbar.md)
>
> Customizable formatting controls

> [card] [Links](https://docs.superdoc.dev/editor/built-in-ui/links.md)
>
> Customize the link click popover or bring your own UI

> [card] [Context Menu](https://docs.superdoc.dev/editor/built-in-ui/context-menu.md)
>
> Right-click actions and custom commands

Each surface is configured via `modules.<name>` in the [SuperDoc configuration](https://docs.superdoc.dev/editor/superdoc/configuration.md). See individual pages for all available options.

## Related

> [card] [Custom UI](https://docs.superdoc.dev/editor/custom-ui/overview.md)
>
> Build your own toolbar, comments sidebar, and review panel with typed React hooks

> [card] [Collaboration](https://docs.superdoc.dev/editor/collaboration/overview.md)
>
> Real-time multi-user editing with Yjs (separate top-level section)

> [card] [Spell check](https://docs.superdoc.dev/editor/spell-check/overview.md)
>
> Provider-based spell check on the layout-engine editor surface


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.