Cards & layout
11/19/26About 1 min
Cards & layout
Card
<Card>
<template #title>Card title</template>
Card body content goes here.
<template #actions>
<Btn color="primary" size="sm">Action</Btn>
</template>
</Card>Collapse
Put CollapseRows in the #list slot; the default slot takes free content.
<Collapse title="With actions" :opened="true" :actions="[{ icon: IconEnum.Edit, tooltip: 'Edit', onClick: edit }]">
<template #list>
<CollapseRow title="Item 2" label="Value 2" description="A description" />
</template>
</Collapse>Drawer
Three-column layout with collapsible side panels. Only the slots you fill (left-drawer, right-drawer) get a panel.
<Drawer :width-left="160" :initial-right-open="false">
<template #left-drawer>Navigation</template>
Main content
<template #right-drawer>Details</template>
</Drawer>