Skip to content

DisplayCard ​

A component of the Display category.

ts
import { DisplayCard } from '@zairakai/vue-components/Display'

Usage ​

vue
<DisplayCard />

Example ​

Header
The body of the card.
Footer
vue
<template>
  <DisplayCard title="Card title">
    <template #header>Header</template>
    The body of the card.
    <template #footer>Footer</template>
  </DisplayCard>
</template>

Props ​

NameTypeDefaultDescription
idstring
classstring
asstring'article'
titlestring

Slots ​

NameDescription
header
default
footer

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.