---
schema_version: "1"
id: 6a6160b5502d694292a7d621b743f9a0571b2563a0bfd09c741b98e753e83390
title: Public Commerce LWR Library
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/salesforce-commerce/guides/d2c-commerce/b2b-b2c-comm-public-lwr-library.md
canonical_url: https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-b2c-comm-public-lwr-library.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6eb160041608c1be25627b8268708b6647cece4b4fc3ae85024996ab6e183f60
products:
  - B2B Commerce Developer Guide
  - Salesforce APIs
---
# Public Commerce LWR Library

Accelerate the development process with ready-to-use Lightning web components that help you customize your Commerce storefronts.

The Public Commerce LWR Library in GitHub is an open repository of components that look and function like the product components available in Experience Builder. Clone and customize these public components to streamline your workflow and build outstanding Commerce storefronts.

The library is organized as an SFDX (Salesforce DX) project, and the components in this library are continually updated.

Contents include:

- Buttons, links, and windows with styling options
- Product Detail Page (PDP) items such as pricing displays, discount tiers, product variant selectors, and pricing quantity rules
- Add to Cart and item quantity selector controls
- Search results and filters

The PDP and search components in the reference library employ a versatile API to update data in component properties. These Builder-supported component APIs use expressions and data binding to achieve continuous data flows. The expressions and data bindings serve as input for `@api` properties in the reference LWCs.

**See Also**

- [Public Commerce LWR Library GitHub Repository](https://github.com/forcedotcom/commerce-on-lightning-components)
