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

# Single Editor Mode

> Wireframes for the Single Editor Mode Panel.

> [!NOTE]
>
> We recommend that you familiarize yourself with [UI Customization Concepts](https://velt.dev/docs/ui-customization/overview.md) before attempting to modify any components.

## VeltSingleEditorModePanelWireframe

![](https://mintcdn.com/velt/jHPNbNrFekxbJeef/images/customization/single-editor/single-editor-overview.png?fit=max\&auto=format\&n=jHPNbNrFekxbJeef\&q=85\&s=fdfa6490d6e404ae87bfca7b28d3f264)

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltWireframe>
>     <VeltSingleEditorModePanelWireframe>
>         <VeltSingleEditorModePanelWireframe.ViewerText />
>         <VeltSingleEditorModePanelWireframe.EditorText />
>         <VeltSingleEditorModePanelWireframe.Countdown />
>
>         {/* Editor sees this button when they try to edit in a different tab */}
>         <VeltSingleEditorModePanelWireframe.EditHere />
>
>         {/* Editor sees these buttons when Viewer requests access */}
>         <VeltSingleEditorModePanelWireframe.AcceptRequest />
>         <VeltSingleEditorModePanelWireframe.RejectRequest />
>
>         {/* Viewer sees this button by default */}
>         <VeltSingleEditorModePanelWireframe.RequestAccess />
>
>         {/* Viewer sees this button when they have already requested access */}
>         <VeltSingleEditorModePanelWireframe.CancelRequest />
>     </VeltSingleEditorModePanelWireframe>
> </VeltWireframe>
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-wireframe style="display:none;">
>     <velt-single-editor-mode-panel-wireframe>
>         <velt-single-editor-mode-panel-viewer-text-wireframe></velt-single-editor-mode-panel-viewer-text-wireframe>
>         <velt-single-editor-mode-panel-editor-text-wireframe></velt-single-editor-mode-panel-editor-text-wireframe>
>         <velt-single-editor-mode-panel-countdown-wireframe></velt-single-editor-mode-panel-countdown-wireframe>
>
>         <!-- Editor sees this button when they try to edit in a different tab -->
>         <velt-single-editor-mode-panel-edit-here-wireframe></velt-single-editor-mode-panel-edit-here-wireframe>
>
>         <!-- Editor sees these buttons when Viewer requests access -->
>         <velt-single-editor-mode-panel-accept-request-wireframe></velt-single-editor-mode-panel-accept-request-wireframe>
>         <velt-single-editor-mode-panel-reject-request-wireframe></velt-single-editor-mode-panel-reject-request-wireframe>
>
>         <!-- Viewer sees these buttons by default -->
>         <velt-single-editor-mode-panel-request-access-wireframe></velt-single-editor-mode-panel-request-access-wireframe>
>
>         <!-- Viewer sees this button when they have already requested access -->
>         <velt-single-editor-mode-panel-cancel-request-wireframe></velt-single-editor-mode-panel-cancel-request-wireframe>
>     </velt-single-editor-mode-panel-wireframe>
> </velt-wireframe>
> ```

### ViewerText

![](https://mintcdn.com/velt/jHPNbNrFekxbJeef/images/customization/single-editor/single-editor-viewer-text.png?fit=max\&auto=format\&n=jHPNbNrFekxbJeef\&q=85\&s=126f8cce5618ed420ac8a8835de9d785)

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltWireframe>
>     <VeltSingleEditorModePanelWireframe.ViewerText />
> </VeltWireframe>
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-wireframe style="display:none;">
>     <velt-single-editor-mode-panel-viewer-text-wireframe></velt-single-editor-mode-panel-viewer-text-wireframe>
> </velt-wireframe>
> ```

### EditorText

![](https://mintcdn.com/velt/jHPNbNrFekxbJeef/images/customization/single-editor/single-editor-active-editor-text.png?fit=max\&auto=format\&n=jHPNbNrFekxbJeef\&q=85\&s=a437c26a833ce66e002ad2090a0c7fe3)

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltWireframe>
>     <VeltSingleEditorModePanelWireframe.EditorText />
> </VeltWireframe>
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-wireframe style="display:none;">
>     <velt-single-editor-mode-panel-editor-text-wireframe></velt-single-editor-mode-panel-editor-text-wireframe>
> </velt-wireframe>
> ```

### Countdown

![](https://mintcdn.com/velt/jHPNbNrFekxbJeef/images/customization/single-editor/single-editor-countdown.png?fit=max\&auto=format\&n=jHPNbNrFekxbJeef\&q=85\&s=0889bcde4509062f9a44e6d92f2e91f8)

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltWireframe>
>     <VeltSingleEditorModePanelWireframe.Countdown />
> </VeltWireframe>
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-wireframe style="display:none;">
>     <velt-single-editor-mode-panel-countdown-wireframe></velt-single-editor-mode-panel-countdown-wireframe>
> </velt-wireframe>
> ```

### EditHere

![](https://mintcdn.com/velt/jHPNbNrFekxbJeef/images/customization/single-editor/single-editor-edit-here.png?fit=max\&auto=format\&n=jHPNbNrFekxbJeef\&q=85\&s=965c313660dabafe518049424b403c20)

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltWireframe>
>     <VeltSingleEditorModePanelWireframe.EditHere />
> </VeltWireframe>
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-wireframe style="display:none;">
>     <velt-single-editor-mode-panel-edit-here-wireframe></velt-single-editor-mode-panel-edit-here-wireframe>
> </velt-wireframe>
> ```

### AcceptRequest

![](https://mintcdn.com/velt/jHPNbNrFekxbJeef/images/customization/single-editor/single-editor-accept-request.png?fit=max\&auto=format\&n=jHPNbNrFekxbJeef\&q=85\&s=f53d348f6e03f74ab80271455e42d32c)

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltWireframe>
>     <VeltSingleEditorModePanelWireframe.AcceptRequest />
> </VeltWireframe>
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-wireframe style="display:none;">
>     <velt-single-editor-mode-panel-accept-request-wireframe></velt-single-editor-mode-panel-accept-request-wireframe>
> </velt-wireframe>
> ```

### RejectRequest

![](https://mintcdn.com/velt/jHPNbNrFekxbJeef/images/customization/single-editor/single-editor-reject-request.png?fit=max\&auto=format\&n=jHPNbNrFekxbJeef\&q=85\&s=229029765edca427d79006c2fabf3adc)

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltWireframe>
>     <VeltSingleEditorModePanelWireframe.RejectRequest />
> </VeltWireframe>
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-wireframe style="display:none;">
>     <velt-single-editor-mode-panel-reject-request-wireframe></velt-single-editor-mode-panel-reject-request-wireframe>
> </velt-wireframe>
> ```

### RequestAccess

![](https://mintcdn.com/velt/jHPNbNrFekxbJeef/images/customization/single-editor/single-editor-request-access.png?fit=max\&auto=format\&n=jHPNbNrFekxbJeef\&q=85\&s=8c03db911378d20195866379f03151fa)

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltWireframe>
>     <VeltSingleEditorModePanelWireframe.RequestAccess />
> </VeltWireframe>
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-wireframe style="display:none;">
>     <velt-single-editor-mode-panel-request-access-wireframe></velt-single-editor-mode-panel-request-access-wireframe>
> </velt-wireframe>
> ```

### CancelRequest

![](https://mintcdn.com/velt/jHPNbNrFekxbJeef/images/customization/single-editor/single-editor-cancel-request.png?fit=max\&auto=format\&n=jHPNbNrFekxbJeef\&q=85\&s=5c9a7fcb4aa141cf735a9e8b583d61c3)

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltWireframe>
>     <VeltSingleEditorModePanelWireframe.CancelRequest />
> </VeltWireframe>
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-wireframe style="display:none;">
>     <velt-single-editor-mode-panel-cancel-request-wireframe></velt-single-editor-mode-panel-cancel-request-wireframe>
> </velt-wireframe>
> ```

## Styling

### Disable ShadowDOM

* By default, Shadow DOM is used to ensure that your app's CSS does not interfere with the styling of the SDK components.
* Disable the shadow dom to apply your custom CSS to the component.

Default: `true`

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltSingleEditorModePanel shadowDom={false} />
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-single-editor-mode-panel shadow-dom="false"></velt-single-editor-mode-panel>
> ```

### Dark Mode

By default, all components are in Light Mode. Use this prop to enable Dark Mode.

Default: `false`

> [tab] React / Next.js
>
> ```js theme={null}
> <VeltSingleEditorModePanel darkMode={true} />
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
>   <velt-single-editor-mode-panel dark-mode="true"></velt-single-editor-mode-panel>
> ```

### Variants

You can apply variants like you do for other components. You need to define variants using Wireframes. Read more [here](https://velt.dev/docs/ui-customization/wireframes/layout-customization.md#create-custom-variants).

> [tab] React / Next.js
>
> ```js theme={null}
> <VeltSingleEditorModePanel variant="variant-name" />
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
>   <velt-single-editor-mode-panel variant="variant-name"></velt-single-editor-mode-panel>
> ```


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