Header 6
smoothui-registry/header-6FreeBlock
Minimal hero block with clean typography
Install it
npx shadcn@latest add https://www.smoothui.dev/r/header-6.jsonSource
1"use client";23import { cn } from "@/lib/utils";4import { motion, useReducedMotion } from "motion/react";56export function HeroMinimal() {7 const shouldReduceMotion = useReducedMotion();89 return (10 <section aria-labelledby="hero-minimal-heading">11 <div className="flex min-h-[500px] items-center justify-center py-24 md:py-32">12 <motion.div13 className="mx-auto max-w-2xl px-6 text-center"14 initial={shouldReduceMotion ? { opacity: 1 } : { opacity: 0 }}15 transition={16 shouldReduceMotion17 ? { duration: 0 }18 : { duration: 0.4, ease: [0.23, 1, 0.32, 1] }19 }20 viewport={{ once: true }}21 whileInView={shouldReduceMotion ? { opacity: 1 } : { opacity: 1 }}22 >23 <motion.h124 className="font-bold text-4xl tracking-tight md:text-5xl lg:text-6xl"25 id="hero-minimal-heading"26 initial={27 shouldReduceMotion ? undefined : { letterSpacing: "0.05em" }28 }29 transition={30 shouldReduceMotion31 ? { duration: 0 }32 : { duration: 0.6, ease: [0.23, 1, 0.32, 1] }33 }34 viewport={{ once: true }}35 whileInView={36 shouldReduceMotion ? undefined : { letterSpacing: "0em" }37 }38 >39 Less is more40 </motion.h1>41 <p className="mt-6 text-foreground/60 text-lg">42 Simple, elegant components that speak for themselves.43 </p>44 <a45 className={cn(46 "mt-10 inline-flex items-center gap-1 font-medium text-foreground text-sm underline underline-offset-4 transition-colors hover:text-foreground/70",47 "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"48 )}49 href="#"50 >51 Explore components →52 </a>53 </motion.div>54 </div>55 </section>56 );57}5859export default HeroMinimal;
What it pulls in
npm packages
Files it writes
More from SmoothUI Registry
All 177 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Chat Templatechat-template | SmoothUI Registry | Blocks | Free | 2 deps · 4 files | |
| Cta 1cta-1 | SmoothUI Registry | Blocks | Free | 1 dep | |
| Cta 2cta-2 | SmoothUI Registry | Blocks | Free | 1 dep | |
| Cta 3cta-3 | SmoothUI Registry | Blocks | Free | 1 dep | |
| Faq 1faq-1 | SmoothUI Registry | Blocks | Free | 2 deps | |
| Faq 2faq-2 | SmoothUI Registry | Blocks | Free | 1 dep | |
| Faq 3faq-3 | SmoothUI Registry | Blocks | Free | 2 deps | |
| Faq 4faq-4 | SmoothUI Registry | Blocks | Free | 2 deps |
