Lightning web component (LWC) actions are custom quick actions that invoke a Lightning
web component. They support JavaScript and provide a secure way to build client-side
functionality. LWC actions are supported only on record pages in Lightning Experience.
Required Editions
| Available in: Lightning Experience |
| Available in: Essentials, Group, Professional, Enterprise,
Performance, Unlimited, Contact Manager, and Developer
Editions
|
You can add LWC actions to a record’s page layout using Dynamic Actions in the Lightning App
Builder. If you have LWC actions in your org, you can find them in the Lightning Actions category
in the page layout editor’s palette.
For a component to work as an LWC action, it must be configured for that purpose and
implement either the Action or ScreenAction target. For more
information, see Configure a Component for Quick Actions in the Lightning Web Components Developer
Guide.
- Create a Lightning Web Component Action
Creating a Lightning web component (LWC) action is similar to creating a regular quick action, and you do it in the same place in Setup for most supported objects. All you need is an LWC in your org for the quick action to trigger.