Measured entry
meraki-hero-background-image
A full-page HTML hero that pairs a responsive navigation bar with a darkened photographic background, centered headline, and call to action. It ships as Tailwind utility markup, uses Alpine.js for the mobile menu, and loads its logo and hero image from remote URLs.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 2 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 18.4 KB (83.8 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | none |
Verdict
A useful visual starting point that builds, mounts, and adapts cleanly in the tested layouts. It is not ready to ship unchanged: fix text contrast, name the logo link, replace placeholder links, and wire the call to action.
Use it if
- You want a marketing hero with navigation, a background photo, and a single primary action.
- Your project already uses Tailwind CSS and can retain Alpine.js for the mobile menu.
- You are prepared to replace the sample branding, remote imagery, links, and copy.
Skip it if
- You need an accessible component that can ship without fixing contrast and the unnamed logo link.
- Your stack cannot load remote assets or Alpine.js, and you do not want to rewrite the menu behavior.
- You need a compact hero without a full navigation header or prominent photographic backdrop.
Install
| Declared dependencies | none declared |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
Add Tailwind CSS and Alpine.js, ensure Tailwind scans the copied markup, and define an x-cloak hiding rule. If CDN assets are not allowed, host the logo and hero image locally. Replace the placeholder links while preserving the menu state bindings.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/merakiui/merakiuiAlternatives
Other published entries for the hero pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- ruixen-tabbed-hero-sectionunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 50.6KB
- Bare
- fail
- Prov
- NO
- 8bitcn-hero1skeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 51.5KB
- Bare
- fail
- Prov
- NO
- tailark-mist-hero-section-5minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 64.8KB
- Bare
- fail
- Prov
- NO
- tailark-mist-hero-section-6minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 64.8KB
- Bare
- fail
- Prov
- NO
- ruixen-arc-reveal-herounclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 71.6KB
- Bare
- fail
- Prov
- NO
- tripled-cta-hero-block-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 72.8KB
- Bare
- fail
- Prov
- NO