---
schema_version: "1"
id: 058c58a1b438f86af0fea18569723652209e5adf6e544fec3f094c26214a8606
title: Lightning Types
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/lt_intro.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.lt_intro.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 74ac226a81219e56b6eede48d5c4ef2aa94f8685463256019f0518f0b76efe34
description: Lightning types are JSON-based data types used to structure, validate, and display data. While Salesforce provides a set of standard Lightning types, you can create custom Lightning types to customize the UI experience based on your business requirements.
products:
  - Salesforce Platform
release: "264"
---
# Lightning Types

Lightning types are JSON-based data types used to structure, validate, and display data. While Salesforce provides a set of standard Lightning types, you can create custom Lightning types to customize the UI experience based on your business requirements.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></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>

- **[Custom Lightning Types Overview](https://help.salesforce.com/s/articleView?id=platform.lt_overview.htm&release=264.0.0&type=5)**  
    Learn about custom Lightning types, the benefits they provide, and how field mapping works.
- **[Create a Custom Lightning Type](https://help.salesforce.com/s/articleView?id=platform.lt_create.htm&release=264.0.0&type=5)**  
    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.
- **[Apex-Based Custom Lightning Types](https://help.salesforce.com/s/articleView?id=platform.lt_apex.htm&release=264.0.0&type=5)**  
    An Apex-based custom Lightning type uses an Apex class to define its schema. Instead of manually creating fields, you map the type directly to your Apex class structure. This method is ideal when you have a complex data structure already defined in your Apex class code.
- **[Object-Based Custom Lightning Types](https://help.salesforce.com/s/articleView?id=platform.lt_object.htm&release=264.0.0&type=5)**  
    With an object-based custom Lightning type, you can define a schema manually by specifying fields. This method is ideal when you want to structure data without referencing an Apex class.
- **[Considerations and Limitations for Custom Lightning Types](https://help.salesforce.com/s/articleView?id=platform.lt_consider_limit.htm&release=264.0.0&type=5)**  
    Review the considerations and limitations for custom Lightning types.

#### See Also

- [_Lightning Types Developer Guide_: Get Started with Lightning Types](https://developer.salesforce.com/docs/platform/lightning-types/guide/lightning-types.html)