Staaarter

Professional Development Hero

Professional development hero with a certification programs list (name plus duration/format), a small row of success stats, and two CTA buttons. Perfect for corporate training and upskilling platforms.

By Staaarter Team
Education
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/professional-development-hero.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/education/education8.tsx instead.

Usage

The file also exports education8Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.

import { Education8, education8Demo } from "@/components/blocks/education/education8";

export default function Page() {
  return <Education8 {...education8Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringnoneSmall uppercase label above the heading; only rendered when set.
headingReactNodenoneHero heading rendered as an <h1>.
descriptionstringundefinedIntro paragraph below the heading.
programsCertificationProgram[]noneCertification rows rendered in a 2-column grid below the hero copy.
statsSuccessStat[]noneSuccess stats rendered inline below the CTA buttons.
primaryCtaCtaButtonnonePrimary (filled) CTA button; href defaults to "#" when omitted.
secondaryCtaCtaButtonnoneSecondary (outline) CTA button; href defaults to "#" when omitted.
classNamestringnoneExtra classes for the outer section element.

Types

type CertificationProgram = { name: string; duration: string };

type SuccessStat = { value: string; label: string };

type CtaButton = { label: string; href?: string };

Behavior notes

  • Both CTA buttons are decorative: they render as real links via Button's render prop, defaulting to "#" when no href is supplied, and nothing is submitted anywhere on click.
  • programs always renders as a 2-column grid on tablet and up, stacking to a single column on mobile; any item count reflows to additional rows.
  • stats renders as a wrapping inline row rather than a fixed grid, so 2 to 5 stats all lay out cleanly.
  • This section uses the same py-16 sm:py-24 page-section framing as the rest of the category, not a full-viewport min-h-screen hero.