> ## Documentation Index
> Fetch the complete documentation index at: https://velt-mintlify-40d8baa1.mintlify.site/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 yourselves with [UI Customization Concepts](/ui-customization/overview) before attempting to modify any components.
</Note>

## VeltSingleEditorModePanelWireframe

<img src="https://mintcdn.com/velt-mintlify-40d8baa1/Q0dQJbreqGRxgaF2/images/customization/single-editor/single-editor-overview.png?fit=max&auto=format&n=Q0dQJbreqGRxgaF2&q=85&s=5ce83d03ab4df822fb266fe6e4a418a3" alt="" width="1280" height="640" data-path="images/customization/single-editor/single-editor-overview.png" />

<Tabs>
  <Tab title="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>

  <Tab title="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>
    ```
  </Tab>
</Tabs>

### ViewerText

<img src="https://mintcdn.com/velt-mintlify-40d8baa1/Q0dQJbreqGRxgaF2/images/customization/single-editor/single-editor-viewer-text.png?fit=max&auto=format&n=Q0dQJbreqGRxgaF2&q=85&s=b1ee62f58dbb88947983af7ab139d85e" alt="" width="1280" height="246" data-path="images/customization/single-editor/single-editor-viewer-text.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltSingleEditorModePanelWireframe.ViewerText />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="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>
    ```
  </Tab>
</Tabs>

### EditorText

<img src="https://mintcdn.com/velt-mintlify-40d8baa1/Q0dQJbreqGRxgaF2/images/customization/single-editor/single-editor-active-editor-text.png?fit=max&auto=format&n=Q0dQJbreqGRxgaF2&q=85&s=48188f93bd36da019b8122ba3337d552" alt="" width="1280" height="246" data-path="images/customization/single-editor/single-editor-active-editor-text.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltSingleEditorModePanelWireframe.EditorText />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="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>
    ```
  </Tab>
</Tabs>

### Countdown

<img src="https://mintcdn.com/velt-mintlify-40d8baa1/Q0dQJbreqGRxgaF2/images/customization/single-editor/single-editor-countdown.png?fit=max&auto=format&n=Q0dQJbreqGRxgaF2&q=85&s=4837a0c1e3699c47f9ddbc12faf4196e" alt="" width="1280" height="246" data-path="images/customization/single-editor/single-editor-countdown.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltSingleEditorModePanelWireframe.Countdown />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="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>
    ```
  </Tab>
</Tabs>

### EditHere

<img src="https://mintcdn.com/velt-mintlify-40d8baa1/Q0dQJbreqGRxgaF2/images/customization/single-editor/single-editor-edit-here.png?fit=max&auto=format&n=Q0dQJbreqGRxgaF2&q=85&s=65e1998cc69c0f181b8959f7f606f3c5" alt="" width="1280" height="246" data-path="images/customization/single-editor/single-editor-edit-here.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltSingleEditorModePanelWireframe.EditHere />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="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>
    ```
  </Tab>
</Tabs>

### AcceptRequest

<img src="https://mintcdn.com/velt-mintlify-40d8baa1/Q0dQJbreqGRxgaF2/images/customization/single-editor/single-editor-accept-request.png?fit=max&auto=format&n=Q0dQJbreqGRxgaF2&q=85&s=d5de0009ea4b80fe3dbc9318542715df" alt="" width="1280" height="246" data-path="images/customization/single-editor/single-editor-accept-request.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltSingleEditorModePanelWireframe.AcceptRequest />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="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>
    ```
  </Tab>
</Tabs>

### RejectRequest

<img src="https://mintcdn.com/velt-mintlify-40d8baa1/Q0dQJbreqGRxgaF2/images/customization/single-editor/single-editor-reject-request.png?fit=max&auto=format&n=Q0dQJbreqGRxgaF2&q=85&s=1141044dc2f578fb92aa8e662f56a3e5" alt="" width="1280" height="246" data-path="images/customization/single-editor/single-editor-reject-request.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltSingleEditorModePanelWireframe.RejectRequest />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="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>
    ```
  </Tab>
</Tabs>

### RequestAccess

<img src="https://mintcdn.com/velt-mintlify-40d8baa1/Q0dQJbreqGRxgaF2/images/customization/single-editor/single-editor-request-access.png?fit=max&auto=format&n=Q0dQJbreqGRxgaF2&q=85&s=f77575804be076656290b6a88bb618dd" alt="" width="1280" height="246" data-path="images/customization/single-editor/single-editor-request-access.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltSingleEditorModePanelWireframe.RequestAccess />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="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>
    ```
  </Tab>
</Tabs>

### CancelRequest

<img src="https://mintcdn.com/velt-mintlify-40d8baa1/Q0dQJbreqGRxgaF2/images/customization/single-editor/single-editor-cancel-request.png?fit=max&auto=format&n=Q0dQJbreqGRxgaF2&q=85&s=7add816fb9dfca9d37ea4a3e98ae6aeb" alt="" width="1280" height="246" data-path="images/customization/single-editor/single-editor-cancel-request.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltSingleEditorModePanelWireframe.CancelRequest />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="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>
    ```
  </Tab>
</Tabs>

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

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltSingleEditorModePanel shadowDom={false} />
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```html theme={null}
    <velt-single-editor-mode-panel shadow-dom="false"></velt-single-editor-mode-panel>
    ```
  </Tab>
</Tabs>

### Dark Mode

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

Default: `false`

<Tabs>
  <Tab title="React / Next.js">
    ```js theme={null}
    <VeltSingleEditorModePanel darkMode={true} />
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```html theme={null}
      <velt-single-editor-mode-panel dark-mode="true"></velt-single-editor-mode-panel>
    ```
  </Tab>
</Tabs>

### Variants

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

<Tabs>
  <Tab title="React / Next.js">
    ```js theme={null}
    <VeltSingleEditorModePanel variant="variant-name" />
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```html theme={null}
      <velt-single-editor-mode-panel variant="variant-name"></velt-single-editor-mode-panel>
    ```
  </Tab>
</Tabs>
