Measured entry
ruixen-tabbed-hero-section
A client-side React hero distributed through a shadcn registry. It combines a headline, Next.js CTA links, selectable tab buttons, an empty showcase frame, optional light and dark background images, and a trust-logo strip. It depends on Next.js, Tailwind theme utilities, React state, and a cn helper built with clsx and tailwind-merge.



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 | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 50.6 KB (116.1 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 118ms error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-bd5e00f25f1e/src/cut/demo.jsx".
Verdict
A solid landing-page scaffold that builds, mounts, and adapts across the tested layouts, but its tab interaction is mostly cosmetic and the showcase is intentionally empty. It needs a shadcn-style setup in a bare project, plus real panel content and stronger tab behavior before production use.
Use it if
- You want a SaaS hero shell that groups calls to action, product-category selectors, and customer proof.
- Your Next.js app already has shadcn-style Tailwind tokens, path aliases, and a cn utility.
- You plan to supply your own product preview or other content for the showcase area.
Skip it if
- You need tabs that switch actual panels, because the buttons only change their selected styling.
- You need complete tab semantics and keyboard behavior without extending the component.
- Your app is framework-neutral or does not use Next.js and you do not want to replace its Link usage.
- You need a controlled tab selection that follows later activeTab prop changes.
Install
| Declared dependencies | clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
For a non-shadcn project, add Tailwind with the semantic theme classes used here, configure the path alias, and create a cn helper using clsx and tailwind-merge. Install and configure Next.js for Link, or replace Link with your router or anchors. The demo icons also require lucide-react, though the component accepts any React nodes.
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/ruixenui/ruixen.comAlternatives
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.
- 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
- meraki-hero-patternminimal-flat
- Renders
- YES
- A11y
- 1
- Gzip
- 18.5KB
- Bare
- pass
- Prov
- NO