Card
A card can contain almost anything you want, so we've made the usage of cards as simple as possible. Here are a few examples
Default
Glass
If you have an image that you want to show with the card, you can use the glass
attribute. And to specify the image source use the src
attribute.
The calm after Big Sur
Loading
If you want to indicate that the card is loading, just add the loading
attribute.
Or
Slots
Header
The header
slot, as the name suggests, is for the heading of the card.
Footer
The footer
slot comes at the bottom of the card, it usually contains action buttons or footer content.
Floating Footer
We also have a floating
slot which gives a floating footer, it can be used for showing binary actions. Like this example
Confirm Bounce UI is the best