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

13 lines
387 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 { Surface } from "@heroui-vue/components";
</script>
<template>
<Surface
class="flex min-w-[320px] flex-col gap-3 rounded-3xl p-6"
variant="default"
>
<h3 class="text-base font-semibold text-foreground">表面内容</h3>
<p class="text-sm text-muted">这是默认表面变体,使用 bg-surface 样式。</p>
</Surface>
</template>