component Card { props { @event click = function @event action = function @event navigate = function @event dismiss = function @event load = function @event error = function title = "Card title" subtitle = "" description = "" header = "" footer = "" imageSrc = "" imageAlt = "" imagePosition = "top" actionLabel = "" actionHref = "" headerActions = [] navigation = [] activeNav = "" mobileNavigation = false alertTitle = "" alertDescription = "" empty = false emptyTitle = "No data to show" emptyIcon = "icon-[lucide--inbox]" items = [] size = "md" color = "primary" variant = "default" layout = "vertical" align = "left" hover = "none" scrollable = false maxHeight = "18rem" dismissible = false ariaLabel = "" class = "" } state dismissed = false view {
{#if items.length > 0}
{#each items as item, itemIndex} {/each}
{:else} {/if}
} }