layout
Display a card for content with a header, body and footer.
<template>
<UCard>
<template #header />
Body
<template #footer />
</UCard>
</template>
Prop | Default | Description |
---|---|---|
as | "div" | string |
ui | appConfig.ui.card | any |
Slot |
---|
{
"base": "overflow-hidden",
"background": "bg-white dark:bg-gray-900",
"divide": "divide-y divide-gray-200 dark:divide-gray-800",
"ring": "ring-1 ring-gray-200 dark:ring-gray-800",
"rounded": "rounded-lg",
"shadow": "shadow",
"body": {
"base": "",
"background": "",
"padding": "px-4 py-5 sm:p-6"
},
"header": {
"base": "",
"background": "",
"padding": "px-4 py-5 sm:px-6"
},
"footer": {
"base": "",
"background": "",
"padding": "px-4 py-4 sm:px-6"
}
}