t×tecexpressby TeKOcloud
DEv0.7.1
Data & views / VUE

TxCard.

Interactive preview

Presentation card with a title, media, content and actions.

PropTypeDefaultMeaning
titlestring | undefinedundefinedView title.
subtitlestring | undefinedundefinedAdditional subtitle.
imageUrlstring | undefinedundefinedCard image URL.
imageAltstring | undefined``Image alternative text.
variant"outlined" | "elevated" | "filled" | undefinedoutlinedCard appearance variant.
loadingboolean | undefinedfalseShows the loading state.

Slots

SlotArguments
default()
header()
media()
actions()
footer()
vue
<script setup lang="ts">
import { TxCard } from '@tekocloud.de/tecexpress'
import '@tekocloud.de/tecexpress/themes/index.css'

</script>

<template>
  <TxCard title="Project" subtitle="Active">Hello<template #footer>Updated today</template></TxCard>
</template>