Hero minimal
BlockA quiet hero: a headline whose letters draw together, one line of copy and a text link.
- Heroes
- 1 components
- 1 file
Loading the example…
pnpm dlx @dowel-ui/cli add hero-minimalimport { HeroMinimalBlock } from "@/components/blocks/hero-minimal"; export default function Page() { return <HeroMinimalBlock />;}<HeroMinimalBlock>
| Prop | Type | Default |
|---|---|---|
actionThe single text link. | HeroMinimalAction | null | { label: "Explore components", href: "#" } |
description | string | "Simple, elegant components that speak for themselves." |
headingLevelThe headline's level, so the block fits any page outline. | 1 | 2 | 3 | 4 | 5 | 6 | 2 |
titleThe headline. | string | "Less is more" |
Plus every attribute of <section> except title.
One section landmark named by its headline, whose level is a prop. The link is a real link with a visible underline, not colour alone, and its arrow mirrors in right-to-left text. The fade and letter-spacing entrance play once, on first scroll into view, and settle instantly under reduced motion.