Hero 14
A centered product hero for the flx registry with a headline, two pill CTAs, a full-width photo framed by a floating block-builder chat demo, and a row of logo wordmarks. Hero14 takes no props; it composes Hero14BlockBuilder internally.


shadcn add · no workarounds · theme neutral (none shipped)Installation
Requires @flx in the registries of your components.json (shadcn adds official directory namespaces automatically).
Usage
import { Hero14 } from '@/components/flx/blocks/hero/hero-14'export default function Page() { return <Hero14 />}- Use as a above-the-fold landing hero for a developer tool, component library, or block marketplace that needs a clear headline and two calls to action.
- Use when you want to show a product in action through a photo with an overlaid UI preview rather than a static screenshot.
- Use when a logo or trust strip directly under the hero helps establish credibility.
- Avoid when you need configurable copy, images, or links through props, since Hero14 has no props and its text and URLs are hardcoded.
Examples
Use as a landing page hero
Render the block as the top section of a route. It is self-contained and includes its own padding and max width.
import { Hero14 } from '@/components/flx/blocks/hero/hero-14'export default function HomePage() { return ( <main> <Hero14 /> </main> )}Show the block builder panel on its own
Hero14BlockBuilder is exported from the same folder and can be reused as a standalone product preview in docs or marketing pages.
import { Hero14BlockBuilder } from '@/components/flx/blocks/hero/hero-14-block-builder'export function BuilderPreview() { return ( <div className="bg-muted flex justify-center p-10"> <Hero14BlockBuilder /> </div> )}Place the hero in a page with a sticky header
Wrap the block in a layout that offsets the anchor targets, since the CTAs currently link to placeholder href values.
import { Hero14 } from '@/components/flx/blocks/hero/hero-14'export default function LandingPage() { return ( <div className="scroll-pt-16"> <Hero14 /> </div> )}Accessibility
- The headline is an h1, so each page should contain only one instance of this block and it should be the main page heading.
- The hero photo is an img with the placeholder alt text 'Alt'. Replace it with a meaningful description or make it decorative with alt="" when it conveys no information.
- The CTA links render as anchors with href="#". Update them to real destinations so screen reader users hear accurate link targets.
- The gradient overlay is marked aria-hidden, so assistive technology ignores it.
- The send button has aria-label='Send'. Its Sparkles, Send, and CheckCircle2 icons have no labels and are visual only.
- The logo strip is plain spans rather than a list or image set, so screen readers read the names inline without a group label.
- The builder panel's chat content is static and not a live region, so its text will not be announced when it changes.
- Body text uses text-muted-foreground on muted backgrounds, so verify contrast in both light and dark themes.
Docs written by anthropic:claude-haiku-5-5 from the registry source.
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
Use the "Hero 14" component (flx/hero-14) from its shadcn registry.1. Install it with: npx shadcn@latest add @flx/hero-142. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { Hero14 } from '@/components/flx/blocks/hero/hero-14'export default function Page() { return <Hero14 />}```Files & dependencies
- registry/blocks/hero/hero-14/hero-14.tsx→ components/flx/blocks/hero/hero-14.tsx
- registry/blocks/hero/hero-14/hero-14-block-builder.tsx→ components/flx/blocks/hero/hero-14-block-builder.tsx