Skip to content

wt-card.vue

Specs

Slots

Name Scope Description
default

Example Card

Card title

Card content goes here. The card provides border radius, padding and elevation around its default slot.

Code
vue
<script setup></script>

<template>
  <wt-card>
    <wt-headline>
      <template #title> Card title </template>
    </wt-headline>
    <p>
      Card content goes here. The card provides border radius, padding and
      elevation around its default slot.
    </p>
  </wt-card>
</template>

<style scoped lang="scss"></style>