Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lightning-card]

For questions related to the lightning:card component.

0
votes
1answer
2k views

Lightning card with a data table inside

I'm developing a lightning component which displays some records. Initially, I have put a <lightning:datatable> inside a <lightning:card> but the table is not showing as I expected: it ...
0
votes
0answers
32 views

Is it possible to use a custom SVG as icon for lightning card view component

Is it possible to use a custom SVG icon in a lightning card component: <lightning:card title="My card" iconName="custom_svg_here"> I have set a custom SVG icon for the custom lightning ...
0
votes
1answer
184 views

Edit the footer of lightning card

I have created a custom lightning page and it looks like the below screenshot. But I want to place the delete button exactly before the cancel button Can someone please suggest to achieve the same? ...
0
votes
0answers
697 views

Dynamically creating multiple lightning:cards in a lightning component?

I have potentially multiple lookup fields on an object. So I want to display my a lightning:card for each one with the related information on the Object's page that has that record in the lookup field....
4
votes
1answer
1k views

SLDS lightning card margin issue

When lightning cards render, the first one seems to always be missaligned at the top no matter what. (this is obviously fixable with CSS). I used dymamic rendering, standard lightning:Card component ...
1
vote
3answers
2k views

Any way to make the Title of a Lightning:Card into a hyperlink?

I've got a lightning:card element that has the name of a record as its title and shows some key info of it in the body. I'd like the title to be a link to the record page of the record. I can't just ...
1
vote
1answer
1k views

Why adding “position:fixed” and “width:100%” styles to lightning:card element fixes right margin?

Let's consider a simple component: <aura:component implements="force:appHostable"> <lightning:card class="test" iconName="custom:custom62" title="Test Card"> <aura:set ...
2
votes
1answer
530 views

Remove whitespace from lighting:card header

There's quite a bit of space left where title and actions go. Ideally I'd like to remove it. What are the options here?