---
schema_version: "1"
id: 8ae011c77c9ed7a990058f46d5c77d6caec076baedeef755f84580612449a08c
title: Create a 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_create.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.lt_create.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 50c60db00edb9a300886b7ecafa0ea3deae931e58bad5d2449cfb4ffc9e0fd63
description: Define data structures and user interface configurations for supported platform features. You can base your type on an Apex class to ensure data consistency, or define a custom structure manually by using a JSON schema.
products:
  - Salesforce Platform
release: "264"
---
# Create a Custom Lightning Type

Define data structures and user interface configurations for supported platform features. You can base your type on an Apex class to ensure data consistency, or define a custom structure manually by using a JSON schema.

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

1. From Setup, in the Quick Find box, enter Lightning Types, and then select **Lightning Types**.
2. Click **New Lightning Type**.
3. Enter a label and an API name for the Lightning type.
4. Optionally, enter a description.
5. Click **Next**.
6. To define the schema for your Lightning type, select **Apex** and then select the appropriate Apex class. To define a custom schema, select **Object**.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_code-264-0-0-production-enus/789bc523-706b-4ae4-8fe9-be6322e38b6b/images/icon_note.png)
    
    Note The Apex Class dropdown list doesn’t show file-based Apex classes. If you can’t find your class in the list, you can manually enter its fully qualified name.
7. Click **Create**.