Hero 05
shadcn-ui-blocks-shadcnship/hero-05FreeBlock
Minimal full-screen centered hero with headline, subtitle, and CTA buttons on a clean background. Use it as a distraction-free entry point for products that rely on strong copy rather than visuals.
See it running
Open the demo on shadcn-ui-blocks
shadcnship.com/blocks/hero-05Install it
npx shadcn@latest add https://shadcnship.com/r/hero-05.jsonSource
1import { ArrowUpRight } from "lucide-react";2import { cn } from "@/lib/utils";3import { Badge } from "@/components/ui/badge";4import { Button } from "@/components/ui/button";5import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";67interface Hero05Props {8 badge?: {9 text: string;10 avatars?: string[];11 };12 title?: string;13 description?: string;14 buttons?: {15 text: string;16 url?: string;17 icon?: React.ReactNode;18 variant?: "default" | "outline" | "ghost" | "secondary" | "link";19 }[];20 className?: string;21}2223const Hero05 = ({24 badge = {25 text: "Trusted by developers",26 avatars: [27 "https://www.shadcnship.com/images/avatars/avatar-1.webp",28 "https://www.shadcnship.com/images/avatars/avatar-2.webp",29 "https://www.shadcnship.com/images/avatars/avatar-3.webp",30 ],31 },32 title = "Shadcn UI Blocks, Copy & Customize",33 description = "Pre-built landing page components for React. Just copy the code and focus on what matters — your product.",34 buttons = [35 {36 text: "Browse Components",37 url: "#",38 icon: <ArrowUpRight className="size-4" />,39 },40 { text: "View Docs", url: "#", variant: "outline" },41 ],42 className,43}: Hero05Props) => {44 return (45 <section46 className={cn(47 "relative w-full overflow-hidden py-16 md:py-24",48 className,49 )}50 >51 <div className="container mx-auto px-6">52 <div className="flex flex-col items-center gap-4 text-center">53 {badge && (54 <Badge55 variant="secondary"56 className="gap-2 border border-border px-4 py-1"57 >58 {badge.avatars && badge.avatars.length > 0 && (59 <div className="flex -space-x-2">60 {badge.avatars.map((avatar, i) => (61 <Avatar62 key={`avatar-${i}`}63 className="size-5 border-2 border-background"64 >65 <AvatarImage src={avatar} />66 <AvatarFallback>U</AvatarFallback>67 </Avatar>68 ))}69 </div>70 )}71 <span>{badge.text}</span>72 </Badge>73 )}7475 <h1 className="text-4xl leading-tight font-medium tracking-tight md:text-5xl lg:text-6xl">76 {title}77 </h1>7879 <p className="max-w-2xl text-muted-foreground md:text-lg">80 {description}81 </p>8283// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from shadcn-ui-blocks
All 74 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Square Grid Backgroundbackground-01 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Dot Pattern Backgroundbackground-02 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Diagonal Stripes Backgroundbackground-03 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Vertical Lines Backgroundbackground-04 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Interactive Grid Backgroundbackground-05 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Banner 01banner-01 | shadcn-ui-blocks | Blocks | Free | 1 dep | |
| Blog 01blog-01 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Changelog 01changelog-01 | shadcn-ui-blocks | Blocks | Free | no deps |
