Use the SLDS Guideline Tool (Beta)
The guide_design_general tool provides Salesforce Lightning Design System (SLDS) guidelines and best practices to accelerate your LWC development, covering accessibility, responsive design, and correct component usage.
MCP Tools for LWC is a pilot or beta service that is subject to the Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the Product Terms Directory. Use of this pilot or beta service is at the Customer's sole discretion.
Here are some possible prompts that invoke the SLDS guideline tool.
Ask about developing accessible and responsive components using SLDS.
- Show me an SLDS pattern for a responsive record detail page with tabs and related lists.
- Explain how I can override the SLDS styles on a card.
- Recommend how to make this component responsiveness using the SLDS grid system.
Many SLDS patterns are available as a base component with built-in HTML attributes, methods, and events to speed up development. See the Component Reference for more information.
See Also