Sample Gallery

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.
  • E-Bikes

    Lightning Web Components
    E-Bikes

    Description

    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.

    Features

    Lightning Web ComponentsSalesforce CommunityLightning Data ServiceCompositionPub/SubDrag-and-drop
    GitHub logoView on GitHub
  • LWC Recipes

    Lightning Web Components
    LWC Recipes

    Description

    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!

    Features

    Lightning Web ComponentsLightning Data ServiceCompositionEventsPub/Sub@wireNavigation3rd Party Libraries
    GitHub logoView on GitHub
  • ECars

    Lightning Web Components
    ECars

    Description

    Sample car sales and service application. Pulsar is a fictitious electric car manufacturer company. This application helps Pulsar to sell cars on-site, and through their customer-facing website. Event-driven patterns allow to build loosely coupled integrations using multiple programming languages and systems. Regardless of the industry you work in, this app demonstrates how to build rich and immersive user experiences with the connected compute and runtime capabilities of the Salesforce Platform.

    Features

    Lightning Web ComponentsHerokuKafkaMQTTChange Data CaptureProgressive Web App
    GitHub logoView on GitHub
  • Apex Recipes

    Lightning Web Components
    Apex Recipes

    Description

    A collection of easy-to-digest code examples demonstrating Apex best practices. Each Recipe demonstrates how to code a specific common task while adhering to best practices. The UI allows you to browse the code, associated tests, and documentation about the recipes all in a convenient, in-org browser. From how to query for data to securely handling third party JSON there's an Apex Recipe for that!

    Features

    ApexSecurityRESTAsynchronous ApexIntegrationsTriggersPlatform EventsPlatform Cache
    GitHub logoView on GitHub
  • DreamHouse

    Lightning Web Components
    DreamHouse

    Description

    Sample real estate application. DreamHouse is a fictitious real estate company. This application helps DreamHouse brokers manage their properties and their customers. Brokers can also use the application on the Salesforce mobile app to help manage their property portfolio. Regardless of the industry you work in, this app demonstrates how to build rich and immersive user experiences with Lightning Components.

    Features

    Lightning Web ComponentsLightning Data ServiceUtility BarMapSalesforce Mobile
    GitHub logoView on GitHub
  • AMP Email demos

    AMP Email demos

    Description

    A collection of interactive examples using AMP Email for Salesforce Marketing Cloud. Build rich experiences for email clients like GMail and Verizon, so that users never have to leave their inbox for interacting with you.

    Features

    AMPNext.jsMarketing Cloud
    GitHub logoView on GitHub
  • AZ Insurance

    AZ Insurance

    Description

    Sample insurance application. AZ Insurance is a fictitious insurance company. The core use case of this sample application is to showcase the patterns on how to implement the Build Your own (LWR) template in Experience Cloud.

    Features

    Experience CloudLWCLWR
    GitHub logoView on GitHub
  • LWC Recipes Open Source

    Lightning Web Components
    LWC Recipes Open Source

    Description

    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!

    Features

    Lightning Web ComponentsNode.jsHerokucreate-lwc-appEvents@wire3rd Party Libraries
    GitHub logoView on GitHub
  • Easy Spaces

    Lightning Web Components
    Easy Spaces

    Description

    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.

    Features

    Lightning Web ComponentsUnlocked packagesModular app designObject-agnostic componentsFlowLocal ActionsLightning ConsoleLightning Console JavaScript APIs
    GitHub logoView on GitHub
  • Visualforce to LWC

    Lightning Web Components
    Visualforce to LWC

    Description

    A collection of code examples to help you replace Visualforce pages with Lightning Web Components. Each example shows a typical Visualforce pattern and its equivalent LWC implementation. Each example also links right to the Visualforce or LWC code in GitHub.

    Features

    Lightning Web ComponentsVisualforceBase ComponentsLightning Data ServiceApex
    GitHub logoView on GitHub
  • Redwoods Insurance

    Lightning Web Components
    Redwoods Insurance

    Description

    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.

    Features

    SwiftCocoa TouchMobile SDKClosuresLightning CommunitiesService Cloud Console AppsLightning Web ComponentsGeolocationSpeech-to-Text
    GitHub logoView on GitHub
  • Automation Components

    Lightning Web Components
    Automation Components

    Description

    Automation Components are a collection of reusable and production-ready extensions that include invocable actions, flow screen components and local actions. Add these easy-to-install, easy-to-use components to your automation toolkit to start building flows today.

    Features

    FlowLightning Web ComponentsInvocable ActionsLocal Actions
    GitHub logoView on GitHub
  • Astro DJ - Sample Gallery Trailmix

    SEE THESE APPS IN ACTION

    Get hands-on with a curated trailmix featuring these sample apps.

    DON'T MISS A BEAT