Skip to content

Waitlist Page

新粗野主义风格的候补注册页面,包含邮箱输入、CTA 按钮和社交证明指标。

预览

Early Access

Join the BrutxUI Waitlist Club

1,247 on waitlist
Live

安装

bash
npx brutx@latest add --block waitlist-page

用法

vue
<script setup>
import WaitlistPage from '@/components/ui/WaitlistPage.vue'

function handleSubmit(email) {
    console.log('Waitlist signup:', email)
}
</script>

<template>
    <WaitlistPage
        title="Join the BrutxUI Waitlist Club"
        description="Be the first to know when we launch. Get early access and exclusive perks."
        cta-text="Secure Priority Access"
        :waitlist-count="1247"
        @submit="handleSubmit"
    />
</template>

Props

属性类型默认值
titlestring'Join the BrutxUI Waitlist Club'
descriptionstring
ctaTextstring'Secure Priority Access'
waitlistCountnumber0
classstring

事件

事件载荷
submitstring(邮箱地址)

布局

WaitlistPage 包含:

  • 徽章:旋转的强调色徽章,带有 "Early Access" 标签
  • 标题:加粗、字距调整的标题
  • 描述:标题下方的弱化文本
  • 邮箱表单:输入框和 CTA 按钮,响应式行布局
  • 社交证明:候补人数、星级评分和在线指示器