card

Card header with border

Card header with border

Загрузка превью…

src/card/c-card-2.vue

<script setup lang="ts">
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"
</script>

<template>
  <Card class="w-full max-w-xs">
    <CardHeader class="border-b">
      <CardTitle>Header with Border</CardTitle>
      <CardDescription>
        This is a card with a header that has a bottom border.
      </CardDescription>
    </CardHeader>
    <CardContent>
      <p>
        The header has a border-b class applied, creating a visual separation
        between the header and content sections.
      </p>
    </CardContent>
  </Card>
</template>

Установка

npx shadcn-vue@latest add https://revueui.rootapi.dev/r/c-card-2.json

Зависимости реестра

Источник: порт из ReUI (Keenthemes, MIT)