One of the items on the Lightning home page is this:

enter image description here

What CSS classes must I use to make my own LWC look like such a standard home page component? I can fool around with h1, h2, b, etc., to imitate the looks, but it seems to me there should be CSS classes that I can use.

1 Answer 1


You'll want to look at SLDS's Card Component or lightning-card. Using the built-in component would be ideal unless you have specific needs that are not met with that component.

  • Yes, that works, the code examples for the Card Component helped me. Commented May 12, 2020 at 7:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .