---
schema_version: "1"
id: 77d688b1bc9a2c03226e2e1a54cd2d5345263c5fbe3b7c77c64a111dc4cb2016
title: Change the Default Input Component for an Apex-Based Custom Lightning Type
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/lt_change_in_apex.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.lt_change_in_apex.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ea15b9be7681e7b7bdf2dcea10322c47e099aad981bed84e865b9e869bc5c0fc
description: Customize the user interface by overriding the default component with a custom one tailored to your business needs.
products:
  - Salesforce Platform
release: "264"
---
# Change the Default Input Component for an Apex-Based Custom Lightning Type

Customize the user interface by overriding the default component with a custom one tailored to your business needs. 

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

When you open a custom Lightning type, the UI Configuration tab provides a workspace with an Editor tab and a Renderer tab. By default, the Editor tab contains a default input component in the Editor Override section. You can override this component with your own custom LWC component.

1. Open the Apex-based custom Lightning type that you want to configure.
2. Select the **UI Configuration** tab.
3. From the Channel dropdown, select the Salesforce application that you want to configure.
    - **Agentforce (Lightning Experience)** configures the component for the Lightning Experience interface.
    - **Agentforce (Mobile)** configures the component for the Mobile interface.
    - **Enhanced Chat v2** configures the component for the Enhanced Chat v2 interface.
4. Select the **Editor** tab.
5. In the Editor Override section, to override the default input component, click **Change**.
6. In the Select an Input Component window, select your custom input LWC component, and click **Done**.
7. Save your work.