Welcome to the LWC Public Library β a curated collection of reusable, open-source Lightning Web Components (LWCs) built for Salesforce developers. This project helps you accelerate UI development with clean, modular, and highly customizable components, ready to drop into any Salesforce Lightning app.
This repository contains Lightning Web Components that follow:
- Salesforce LWC best practices
 - SLDS-based responsive design
 - Reusability via 
@apiproperties - Accessibility where applicable
 
You can use these LWCs in:
- Lightning App Builder (Record/Home/App pages)
 - Experience Cloud Sites
 - Aura or custom LWC apps
 - Managed packages or internal tooling
 
Display and interact with hierarchical data (like folder structures, role hierarchies, or custom object trees) using
lightning-tree-grid.
- Expandable/collapsible nodes
 - Checkbox support for multi-select
 - URL or icon-based nodes
 - Custom node rendering
 - Keyboard accessible
 
π Demo Component: demoDataTree
A flexible card-based LWC that displays a list of Salesforce records using
lightning-datatable. Ideal for custom related lists, admin tools, or dashboards.
- Card layout with SLDS styling
 - Custom header icon and label
 - Optional action buttons (
lightning-button) - Row-level actions in 
lightning-datatable - Built-in refresh & reset column options
 @apicontrolled visibility and layout
π Demo Component: recordListCardDemo
Clone this repository or download the components you want, then deploy them to your Salesforce org using Salesforce CLI or your preferred deployment tools.