feat: add Surface, Link and Spinner components

This commit is contained in:
maoyingjie
2026-10-21 13:04:06 +08:00
parent 9d40dc0ecb
commit 630963c652
52 changed files with 2683 additions and 162 deletions
+5 -4
View File
@@ -1,9 +1,10 @@
<script setup lang="ts">
import { Input } from "@heroui-vue/components";
import { Input, Surface } from "@heroui-vue/components";
</script>
<template>
<div
class="flex h-[180px] w-[280px] items-center justify-center rounded-3xl bg-surface p-4"
<Surface
class="flex h-[180px] w-[280px] items-center justify-center rounded-3xl p-4"
variant="default"
>
<Input
class="w-full"
@@ -11,5 +12,5 @@ import { Input } from "@heroui-vue/components";
placeholder="你的姓名"
variant="secondary"
/>
</div>
</Surface>
</template>