DocMosaicdocs
Primitives

Editor.DocumentName

Editable document-name input. Part of Editor.Properties.

Editable document-name input. Part of Editor.Properties.

Usage

import { Editor } from '@docmosaic/react';

<Editor.Root>
    <Editor.DocumentName />
</Editor.Root>;

API Reference

PropTypeDefaultDescription
asTitleboolean | undefined-

Hide the trailing pencil affordance and tighten the input so the name reads as a plain title. Used by the app-shell top bar, where the name sits between a menu glyph and a chevron rather than in a labeled field. Defaults to false.

classNamestring | undefined-

Extra classes merged onto the input.

  • Root - the orchestrator