Skip to content
@trailheadapps

Salesforce Developers Sample Apps

Sample Apps for Salesforce Developers

Salesforce Developers Sample Apps

These sample apps show what you can build on the Salesforce platform and are continuously updated to incorporate the latest features and best practices. As reference apps, they are not intended for production, but are a great way to learn.

Brought to you with 💙 by the Salesforce Developers team!

Trailhead Badge

Get an overview of our Sample Apps with a Trailhead badge or with a short video series.


Repository image

📕 Description and Features

Sample hospitality application that showcases Coral Cloud Resorts, a fictional resort that uses data and AI to deliver highly personalized guest experiences. It presents different ways and benefits of bringing generative AI into business workflows, including new smart automation capabilities, content generation, and summarization.

Features

Data Cloud, Agents, Prompts



Trailhead Content
Repository image

📕 Description and Features

A collection of easy-to-digest code examples for Lightning Web Components. Each recipe demonstrates how to code a specific task in the fewest lines of code possible, while following best practices. 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 Components, Lightning Data Service, Lightning Message Service, Navigation, @wire, Composition, Events, 3rd Party Libraries

Video Overview

Trailhead Content
Repository image

📕 Description and Features

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 Experience Cloud, and learn how to build rich User Experiences with Lightning Web Components using different data access strategies.

Features

Lightning Web Components, Apex, Experience Cloud, Lightning Data Service, Lightning Message Service, UTAM tests

Video Overview

Trailhead Content
Repository image

📕 Description and Features

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.

Features

Apex, Security, REST, Asynchronous Apex, Integrations, Triggers, Platform Events, Platform Cache

Video Overview

Trailhead Content
Repository image

📕 Description and Features

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 Components, Lightning Data Service, Utility Bar, Map, Salesforce Mobile

Video Overview

Trailhead Content
Repository image

📕 Description and Features

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 Components, Visualforce, Base Components, Lightning Data Service, Apex

Trailhead Content
Repository image

📕 Description and Features

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 Components, Unlocked packages, Modular app design, Object-agnostic components, Flow, Local Actions, Lightning Console, Lightning Console JavaScript APIs

Trailhead Content
Repository image

📕 Description and Features

Automation Components provides a set of reusable and production-ready extensions that include invocable actions, flow screen components and local actions. These are intended as an easy to install, easy to use toolbox.

Features

Lightning Web Components, Flows, Invocable Action, Flow Screen Components

Trailhead Content
Repository image

📕 Description and Features

A collection of easy-to-digest code examples for Lightning Web Components running on the Lightning Web Runtime (LWR). 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 Components, Lightning Web Runtime, Node.js, Events, @wire, 3rd Party Libraries

Video Overview

Trailhead Content

Pinned Loading

  1. coral-cloud coral-cloud Public

    Sample application that showcases Data Cloud, Agents and Prompts.

    HTML 45 32

  2. lwc-recipes lwc-recipes Public

    A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform

    JavaScript 2.6k 3.1k

  3. ebikes-lwc ebikes-lwc Public

    Sample application for Lightning Web Components and Experience Cloud on Salesforce Platform. Retail use case. Get inspired and learn best practices.

    JavaScript 789 1.2k

  4. apex-recipes apex-recipes Public

    A library of concise, meaningful examples of Apex code for common use cases following best practices.

    Apex 958 459

  5. dreamhouse-lwc dreamhouse-lwc Public

    Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Real estate use case. Get inspired and learn best practices.

    JavaScript 402 800

  6. visualforce-to-lwc visualforce-to-lwc Public

    A collection of code examples to help you move from Visualforce to LWC.

    JavaScript 127 92

Repositories

Showing 10 of 27 repositories
  • coral-cloud Public

    Sample application that showcases Data Cloud, Agents and Prompts.

    trailheadapps/coral-cloud’s past year of commit activity
    HTML 45 CC0-1.0 32 3 1 Updated Dec 16, 2024
  • lwc-recipes-oss Public

    A collection of easy-to-digest code examples for Lightning Web Components on any platform.

    trailheadapps/lwc-recipes-oss’s past year of commit activity
    JavaScript 328 CC0-1.0 252 0 11 Updated Dec 14, 2024
  • dreamhouse-lwc Public

    Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Real estate use case. Get inspired and learn best practices.

    trailheadapps/dreamhouse-lwc’s past year of commit activity
    JavaScript 402 Apache-2.0 800 2 3 Updated Dec 12, 2024
  • automation-components Public

    Automation Components are a collection of reusable and production-ready extensions that include invocable actions, flow screen components and local actions.

    trailheadapps/automation-components’s past year of commit activity
    Apex 363 CC0-1.0 85 0 3 Updated Dec 2, 2024
  • lwc-recipes Public

    A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform

    trailheadapps/lwc-recipes’s past year of commit activity
    JavaScript 2,620 CC0-1.0 3,103 4 4 Updated Dec 1, 2024
  • ebikes-lwc Public

    Sample application for Lightning Web Components and Experience Cloud on Salesforce Platform. Retail use case. Get inspired and learn best practices.

    trailheadapps/ebikes-lwc’s past year of commit activity
    JavaScript 789 CC0-1.0 1,168 0 5 Updated Dec 1, 2024
  • easy-spaces-lwc Public

    Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Event management use case. Get inspired and learn best practices.

    trailheadapps/easy-spaces-lwc’s past year of commit activity
    JavaScript 228 CC0-1.0 179 0 6 Updated Dec 1, 2024
  • visualforce-to-lwc Public

    A collection of code examples to help you move from Visualforce to LWC.

    trailheadapps/visualforce-to-lwc’s past year of commit activity
    JavaScript 127 CC0-1.0 92 0 3 Updated Dec 1, 2024
  • apex-recipes Public

    A library of concise, meaningful examples of Apex code for common use cases following best practices.

    trailheadapps/apex-recipes’s past year of commit activity
    Apex 958 CC0-1.0 459 0 2 Updated Dec 1, 2024
  • ebikes-manufacturing Public

    E-Bikes Manufacturing site built with LWR

    trailheadapps/ebikes-manufacturing’s past year of commit activity
    JavaScript 22 CC0-1.0 16 0 10 Updated Dec 1, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.