Skip to main content
Corporate IdentityUniversity of Johannesburg
Settings
Appearance
Design
Menu

Public patterns

Editorial hero

Lead a genuine institutional priority with approved media or strong contrast.

stable@uj/design/patternsVersion 1.16.1Package 1.16.1

Production component

Live preview

This example is rendered from the same package consumed by UJ applications.

University of Johannesburg

Faculty of Health Sciences

Discover programmes, academic departments, staff expertise and news connected to the Faculty of Health Sciences.

Composition

Image-backed or solid hero

Applications supply approved content and media; the Corporate Identity package owns the hierarchy, overlay, spacing, typography and action treatment.

Image-backed: pass an approved, self-hosted image when it adds useful institutional context. The backdrop is decorative because the title and summary carry the page meaning, so use an empty alt value. When no approved image exists, omit image and the same component provides its high-contrast solid state.

Use one editorial hero and one page-level h1 per page. Keep the eyebrow short, the summary to one or two sentences and the action set to no more than two links, with the primary action first. Use UjPageHeader for smaller internal-page introductions.

Do not recreate the overlay, colours, spacing, typography or responsive behaviour in application CSS. Do not place text inside the image, add video or carousel behaviour, or make the image the only source of meaning.

<UjEditorialHero
  actions={
    <>
      <UjButtonLink href="/programmes">
        Explore programmes
      </UjButtonLink>
      <UjButtonLink href="/departments" variant="secondary">
        Explore departments
      </UjButtonLink>
    </>
  }
  eyebrow="University of Johannesburg"
  image={{ alt: "", src: "/images/faculty-hero.webp" }}
  summary="Discover programmes, academic departments, staff expertise and news."
  title="Faculty of Health Sciences"
/>

Contract

Usage and quality requirements

The contract keeps purpose, states and ownership visible before a component is reused.

usage

  • Use verified UJ content
  • Reuse semantic tokens
  • Keep business logic in the owning application

states

  • default
  • focus-visible
  • disabled or unavailable where applicable
  • long content
  • narrow viewport
  • dark theme

purpose

Lead a genuine institutional priority with approved media or strong contrast.

responsive

  • 320px
  • 768px
  • 1440px
  • 200% text resize

accessibility

  • Native semantics first
  • WCAG 2.2 AA
  • Keyboard and touch operation
  • No colour-only meaning