Files
heroui-vue/apps/docs/demos/card-default.vue
T
2026-10-21 13:04:06 +08:00

35 lines
881 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup lang="ts">
import { IconCoin } from "@tabler/icons-vue";
import {
Card,
CardHeader,
CardTitle,
CardDescription,
CardFooter,
Link,
LinkIcon,
} from "@heroui-vue/components";
</script>
<template>
<Card class="w-[400px]">
<IconCoin role="img" aria-label="美元图标" class="size-6" />
<CardHeader>
<CardTitle>成为 Acme 创作者!</CardTitle>
<CardDescription>
前往 Acme 创作者中心立即注册,开始从粉丝与支持者处获得积分奖励。
</CardDescription>
</CardHeader>
<CardFooter>
<Link
aria-label="前往 Acme 创作者中心(在新标签页打开)"
href="https://heroui.com"
rel="noopener noreferrer"
target="_blank"
>
创作者中心
<LinkIcon aria-hidden="true" />
</Link>
</CardFooter>
</Card>
</template>