Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search Sign up Reseting focus

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

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 by the Salesforce Developers team!

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

E-Bikes

📕 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.

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

Trailhead Content

LWC Recipes

📕 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!

Lightning Web Components , Lightning Data Service , Lightning Message Service , Navigation , @wire , Composition , Events , 3rd Party Libraries

Trailhead Content

Dreamhouse

📕 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.

Lightning Web Components , Lightning Data Service , Utility Bar , Map , Salesforce Mobile

Trailhead Content

Apex Recipes

📕 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.

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

Trailhead Content

Easy Spaces

📕 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.

Lightning Web Components , Unlocked packages , Modular app design , Object-agnostic components , Flow , Local Actions , Lightning Console , Lightning Console JavaScript APIs

Trailhead Content

Visualforce to LWC

📕 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.

Lightning Web Components , Visualforce , Base Components , Lightning Data Service , Apex

Trailhead Content

Automation Components

📕 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.

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

Trailhead Content

LWC Recipes Open Source

📕 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!

Lightning Web Components , Lightning Web Runtime , Node.js , Events , @wire , 3rd Party Libraries

Trailhead Content