Files
heroui-vue/apps/docs/demos/button-social.vue
T

34 lines
778 B
Vue

<script setup lang="ts">
import {
IconBrandGoogle,
IconBrandGithubFilled,
IconBrandAppleFilled,
} from "@tabler/icons-vue";
import { Button } from "@heroui-vue/components";
</script>
<template>
<div class="social-demo">
<Button full-width variant="tertiary">
<IconBrandGoogle aria-hidden="true" />
使用 Google 登录
</Button>
<Button full-width variant="tertiary">
<IconBrandGithubFilled aria-hidden="true" />
使用 GitHub 登录
</Button>
<Button full-width variant="tertiary">
<IconBrandAppleFilled aria-hidden="true" />
使用 Apple 登录
</Button>
</div>
</template>
<style scoped>
.social-demo {
display: flex;
flex-direction: column;
gap: 12px;
width: 320px;
max-width: 100%;
}
</style>