I am currently working on a project to create a card using this layout:
Defining Slot Composition
In our code we are using slot composition. Slot composition is used to pass code through elements. Code from things like the icon or the header of the card can be passed through. Below are a couple of examples on how slot composition works.
Sources
Javascript.info
vuejs.org
lwc.dev
Top comments (0)