The Lightning Component framework is a UI framework for developing dynamic web apps for mobile and desktop devices. It’s a modern framework for building single-page applications engineered for growth.
|Available in: Salesforce Classic and Lightning Experience|
|Available for use in: Contact Manager, Group, Professional, Enterprise, Performance, Unlimited, and Developer Editions|
Create Lightning components using the UI in Enterprise, Performance, Unlimited, Developer Editions or a sandbox.
There are many benefits of using the Lightning Component framework to build components and apps.
- Out-of-the-Box Component Set
- Comes with an out-of-the-box set of components to kick start building apps. You don't have to spend your time optimizing your apps for different devices as the components take care of that for you.
- Rich component ecosystem
- Create business-ready components and make them available in Salesforce1, Lightning Experience, and Communities. Salesforce1 users access your components via the navigation menu. Customize Lightning Experience or Communities using drag-and-drop components on a Lightning Page in the Lightning App Builder or using Community Builder. Additional components are available for your org in the AppExchange. Similarly, you can publish your components and share them with other users.
- Event-driven architecture
- Uses an event-driven architecture for better decoupling between components. Any component can subscribe to an application event, or to a component event they can see.
- Faster development
- Empowers teams to work faster with out-of-the-box components that function seamlessly with desktop and mobile devices. Building an app with components facilitates parallel design, improving overall development efficiency.
- Components are encapsulated and their internals stay private, while their public shape is visible to consumers of the component. This strong separation gives component authors freedom to change the internal implementation details and insulates component consumers from those changes.
- Device-aware and cross browser compatibility
- Apps use responsive design and provide an enjoyable user experience. The Lightning Component framework supports the latest in browser technology such as HTML5, CSS3, and touch events.
Use the Developer Console to create Lightning components.