Get inspired with sample apps, explore reference code, and learn best practices
Sample apps show what you can build on the Salesforce platform and are continuously updated to incorporate the latest features and best practices. These reference apps are not intended for production, but are a great way to learn.
Lightning Web Components
A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform. Each recipe demonstrates how to code a specific task in about 30 lines of code or less. A View Source link takes you right to the code in GitHub. From Hello World to data access and third-party libraries, there is a recipe for that!
Lightning Web ComponentsLightning Data ServiceCompositionEventsPub/Sub@wireNavigation3rd Party Libraries
A collection of easy-to-digest code examples for Lightning Web Components Open Source. Each recipe demonstrates how to code a specific task in about 30 lines of code or less. A View Source link takes you right to the code in GitHub. From Hello World to data access and third-party libraries, there is a recipe for that!
Lightning Web ComponentsNode.jsHerokulwc-create-appEvents@wire3rd Party Libraries
Sample retail application. This application helps E-Bikes, a fictitious electric bicycle manufacturer, manage their products and reseller orders using a rich User Experience. Explore this application, that also integrates with Salesfoce Communities, and learn how to build rich User Experiences with Lightning Web Components using different data access strategies.
Lightning Web ComponentsSalesforce CommunityLightning Data ServiceCompositionPub/SubDrag-and-drop
Sample real estate application. DreamHouse is a fictitious real estate company. This application helps DreamHouse brokers manage their properties and their customers. The application also helps prospective home buyers find their dream house via a custom mobile app. Regardless of the industry you work in, this app demonstrates how to build rich and immersive user experiences with Lightning Components.
Lightning Web ComponentsLightning Data ServiceUtility BarMapEinstein VisionSalesforce Mobile SDKBot Integrations
Sample non-profit, agriculture, and retail application. Pure Aloe is a fictitious agricultural, manufacturing, and retail company. The application helps Pure Aloe manage aloe harvests and sell derived aloe products through a distributor channel. Regardless of the industry you work in, this app demonstrates how to simplify complex processes and integrate external systems with Lightning components, Lightning Flow and platform events.
Lightning Web ComponentsSVGCustom Page TemplatesPlatform EventsLightning FlowHeroku integration
Sample financial services application. DreamInvest is a fictitious financial services company. This application helps DreamInvest financial advisors find mutual funds based on several criteria (return, sector, etc). Regardless of the industry you work in, this app demonstrates how to build configurable Lightning Components that Salesforce admins can use to create sophisticated apps in App Builder.
Lightning Web ComponentsConfigurable Lightning componentsApplication CompositionPerformance Best PracticesData Caching
Sample event management application. Easy Spaces is a fictitious event management company. This application helps Easy Spaces event coordinators manage reservations and find the right theme for their customers. Regardless of the industry you work in, this app demonstrates how to build flexible, user-centric experiences with dynamic flows, Flow Actions, and object-agnostic Lightning components. This app also demonstrates how to structure your source code for modular distribution using unlocked packages.
Sample car insurance app. Redwoods Insurance is a fictitious car insurance company. This application, which consists of a Salesforce Lightning Console app and a mobile application for iOS, helps agents and customers with insurance claims. Customers use the mobile application to capture pictures and other details about accidents. The sample iOS application uses the new Mobile SDK to provide rich, native connections to a customer's device. Redwoods Insurance claims adjusters use the Salesforce console app to view multimedia files uploaded by customers and manage the claims process.
SwiftCocoa TouchMobile SDKClosuresLightning CommunitiesService Cloud Console AppsLightning Web ComponentsGeolocationSpeech-to-Text