---
schema_version: "1"
id: 9e5a0ee35f85de87b573839d9e05ef37e1b2b48947b4ad6f5dca0a67465f2c4d
title: LWC Utility Modules
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lightning-base-components/lightning-design-system/guides/lwc/components/utilities.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/utilities.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 53c8971b5498f107a873d2446454db06fdf7a67e05bd55776b47bc061fab4b88
products:
  - Lightning Component Reference
---
# LWC Utility Modules

Utility modules complement Lightning base components by providing functionality and services that extend beyond individual component capabilities. These modules offer JavaScript functions and services that help you build robust and integrated apps.

Utility modules include:

- [**Distributed Marketing**](/docs/platform/lightning-component-reference/guide/lightning-distributed-marketing.html): Launch the Distributed Marketing modal
- [**File Download**](/docs/platform/lightning-component-reference/guide/lightning-file-download.html): Download a file in an LWR site in Experience Cloud
- [**Flow Support**](/docs/platform/lightning-component-reference/guide/lightning-flow-support.html): Control flow navigation and notify the flow of changes in attribute values using the `lightning/flowSupport` module
- [**Logger**](/docs/platform/lightning-component-reference/guide/lightning-logger.html): Centralize logging capabilities for debugging and monitoring using the `lightning/logger` module
- [**Media Utils**](/docs/platform/lightning-component-reference/guide/lightning-media-utils.html): Handle media files and streaming using the `lightning/mediaUtils` module
- [**Message Service**](/docs/platform/lightning-component-reference/guide/lightning-message-service.html): Communicate between components that don't have a direct parent-child relationship using the `lightning/messageService` module
- [**Navigation**](/docs/platform/lightning-component-reference/guide/lightning-navigation.html): Navigate programmatically between pages, apps, and records using the `lightning/navigation` module
- [**Page Reference Utils**](/docs/platform/lightning-component-reference/guide/lightning-page-reference-utils.html): Work with page references and URLs using the `lightning/pageReferenceUtils` module
- [**Platform Resource Loader**](/docs/platform/lightning-component-reference/guide/lightning-platform-resource-loader.html): Load static resources, stylesheets, and scripts using the `lightning/platformResourceLoader` module
- [**Platform Show Toast Event**](/docs/platform/lightning-component-reference/guide/lightning-platform-show-toast-event.html): Standardized user notifications using the `lightning/platformShowToastEvent` module
- [**Refresh**](/docs/platform/lightning-component-reference/guide/lightning-refresh.html): Trigger data refreshes across components using the `lightning/refresh` module
- [**User Consent Cookie**](/docs/platform/lightning-component-reference/guide/lightning-user-consent-cookie.html): Manage user consent preferences and cookie compliance using the `lightning/userConsentCookie` module
