LWC Recipes

recipes.lwc.dev/

Official collection of Lightning Web Component examples covering data access, navigation, composition, and platform integration patterns.

Author

Salesforce

License

CC0-1.0

Salesforce Clouds
Platform Experience

Last verified: 2026-02-27

Why It Matters

LWC Recipes is the official reference cookbook for Lightning Web Components. Instead of reading documentation and guessing how things fit together, you can see working implementations of wire adapters, imperative Apex calls, component composition, navigation, and more.

For architects evaluating LWC for a project, this repository answers the “can LWC do this?” question faster than any documentation page. It’s also a great onboarding resource for developers new to the framework.

Alternatives

  • lwc.dev — official LWC documentation and playground
  • E-Bikes Sample App — full application context, not isolated recipes