Hero 01
block marketingTwo-column hero with badge eyebrow, large headline, supporting copy, primary + outline CTAs, social proof row, and a collage of three rotated KPI cards (active users / uptime / onboarding queue) on the right.
Also available for React ->Installation
$ pnpm dlx shadcn-vue@latest add https://uipkge.dev/r/vue/hero-01.json$ npx shadcn-vue@latest add https://uipkge.dev/r/vue/hero-01.json$ yarn dlx shadcn-vue@latest add https://uipkge.dev/r/vue/hero-01.json$ bunx shadcn-vue@latest add https://uipkge.dev/r/vue/hero-01.json
Or with the named registry:
npx shadcn-vue@latest add @uipkge/hero-01
Examples
npm dependencies
Theming
CSS custom properties referenced in this item. Override any of them in your :root or per-element to retheme.
--success Files (1)
-
app/components/blocks/Hero01.vue 4.3 kB
<script setup lang="ts"> import { ArrowRight, PlayCircle, Sparkles } from 'lucide-vue-next' import { Avatar, AvatarFallback } from '@/components/ui/avatar' import { Badge } from '@/components/ui/badge' import { Button } from '@/components/ui/button' import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card' </script> <template> <section class="bg-background relative overflow-hidden"> <div class="bg-primary/10 pointer-events-none absolute -top-40 left-1/2 size-[600px] -translate-x-1/2 rounded-full blur-3xl" /> <div class="relative mx-auto max-w-6xl px-6 py-24 lg:py-32"> <div class="grid gap-12 lg:grid-cols-2 lg:items-center"> <div class="space-y-6"> <Badge variant="secondary" class="gap-1"> <Sparkles class="size-3" /> New: AI-powered insights </Badge> <h1 class="text-4xl font-semibold tracking-tight sm:text-5xl lg:text-6xl"> The platform your team will actually use. </h1> <p class="text-muted-foreground max-w-xl text-lg"> One workspace for everything your team needs. Built on shadcn-vue primitives — fast, accessible, easy to customise. </p> <div class="flex flex-wrap items-center gap-3"> <Button size="lg"> Start free trial <ArrowRight class="ml-2 size-4" /> </Button> <Button size="lg" variant="outline"> <PlayCircle class="mr-2 size-4" /> Watch demo (2 min) </Button> </div> <div class="text-muted-foreground flex flex-wrap items-center gap-x-6 gap-y-2 text-sm"> <span>★★★★★ 4.9 on G2</span> <span>14-day free trial</span> <span>No credit card required</span> </div> </div> <div class="relative"> <Card class="absolute -top-4 right-0 w-56 rotate-2 shadow-lg"> <CardContent class="space-y-1 p-4"> <p class="text-muted-foreground text-xs uppercase">Active users</p> <p class="text-2xl font-semibold">1,284</p> <p class="text-xs text-[var(--success)]">+8.2% MoM</p> </CardContent> </Card> <Card class="absolute top-32 -left-2 w-52 -rotate-3 shadow-lg"> <CardContent class="space-y-1 p-4"> <p class="text-muted-foreground text-xs uppercase">Uptime</p> <p class="text-2xl font-semibold">100%</p> <p class="text-muted-foreground text-xs">12 cycles, 0 misses</p> </CardContent> </Card> <Card class="ml-auto w-72 shadow-xl"> <CardHeader> <CardTitle class="text-base">Onboarding queue</CardTitle> <CardDescription>3 starting Monday</CardDescription> </CardHeader> <CardContent class="space-y-3"> <div class="flex items-center gap-3"> <Avatar class="size-8"> <AvatarFallback>LW</AvatarFallback> </Avatar> <div class="flex-1"> <p class="text-sm font-medium">Lena Wei</p> <p class="text-muted-foreground text-xs">Engineering</p> </div> <Badge variant="secondary">Pending</Badge> </div> <div class="flex items-center gap-3"> <Avatar class="size-8"> <AvatarFallback>JR</AvatarFallback> </Avatar> <div class="flex-1"> <p class="text-sm font-medium">Joaquín Reyes</p> <p class="text-muted-foreground text-xs">Engineering</p> </div> <Badge variant="secondary">Pending</Badge> </div> <div class="flex items-center gap-3"> <Avatar class="size-8"> <AvatarFallback>PS</AvatarFallback> </Avatar> <div class="flex-1"> <p class="text-sm font-medium">Priya Shah</p> <p class="text-muted-foreground text-xs">Engineering</p> </div> <Badge variant="secondary">Pending</Badge> </div> </CardContent> </Card> </div> </div> </div> </section> </template>
Raw manifest: https://uipkge.dev/r/vue/hero-01.json