YuhuanStudioYunUIDocs
Patterns

Marketing Hero

The full-bleed landing hero — radial wash, pill badge, two-tone headline, actions, fact chips and a scroll chevron.

The full-bleed landing hero: a soft radial wash, a pill badge, a large two-tone headline, subcopy, the actions, a row of reassurance chips, and a bouncing scroll-down chevron.

Extracted from Yunxin, where the landing page and the Fellows page each hand-rolled the identical block. Everything is a slot — YunUI owns the geometry, the wash and the entrance stagger; you own every word.

Import

tsx
1import { MarketingHero, HeroAccent } from "@yuhuanowo/yunui/patterns";

Basic

Wrap the tail of the headline in HeroAccent so it washes into the muted tone. fullHeight={false} is used here to keep the preview short.

Hero

Fellows programme

Build with us. On us.

Six weeks of credits, review and a room full of people shipping the same week you are.

Free to apply6 weeksOpen source

Anatomy

  • badge — anything; an Eyebrow is the house choice.
  • title — wrap part of it in HeroAccent for the two-tone fade.
  • facts — short reassurance chips under the actions.
  • scrollToId — renders the bouncing chevron, linking to that anchor. Omit to hide it.
  • fullHeightmin-h-dvh by default; turn it off for a shorter banner.

Props

PropTypeDefaultDescription
actionsReactNodePrimary/secondary buttons.
badgeReactNodePill badge above the title — pass an {@link Eyebrow } or any node.
factsReactNode[]Short reassurance chips under the actions ("Free to apply", "6 weeks").
fullHeightbooleantrueFill the viewport (`min-h-dvh`).
scrollLabelstringScroll downAccessible label for the scroll-down chevron.
scrollToIdstringAnchor the scroll-down chevron links to. Omit to hide the chevron.
subtitleReactNodeSupporting paragraph.
title*ReactNodeHeadline. Wrap the part that should fade with {@link HeroAccent}.

On this page