Measured entry
hyperui-ctas-4
A static editorial CTA that pairs a centered headline, supporting copy, and linked action with a two-image collage. It ships as HTML styled entirely with Tailwind utility classes, has no interactive runtime logic, and relies on Tailwind-generated CSS plus externally hosted Unsplash images.



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 | 17.8 KB (83.2 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A dependable, accessible starting point for an image-led CTA, with clean responsive behavior and no component-library lock-in. The structure is intentionally simple, but teams should replace the placeholder copy, destination, and remote images before shipping.
Use it if
- You need a prominent campaign or landing-page CTA with strong photographic context.
- Your design system already uses Tailwind and can map the utility colors and spacing to its tokens.
- You want supporting copy on wider layouts but a tighter headline-and-action treatment on small screens.
Skip it if
- Your CTA must remain fully informative on small screens, because the supporting paragraph is hidden there.
- You cannot depend on remote imagery or do not have suitable local replacements for both photographs.
- You need forms, multiple actions, analytics hooks, or other behavior beyond a single link.
- Your page cannot accommodate a wide, image-heavy composition at larger breakpoints.
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 |
In a non-shadcn project, add Tailwind CSS and ensure its content scan includes this component. Supply local or approved image URLs, replace the placeholder link and copy, and add any routing or analytics behavior your application requires.
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/markmead/hyperuiAlternatives
Other published entries for the cta pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- meraki-cta-simpleminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.7KB
- Bare
- pass
- Prov
- NO
- meraki-cta-gridminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- meraki-cta-formminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- hyperui-ctas-2editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 18.0KB
- Bare
- pass
- Prov
- NO
- meraki-cta-cardminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 18.0KB
- Bare
- pass
- Prov
- NO
- meraki-cta-centeredminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 19.2KB
- Bare
- pass
- Prov
- NO