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.
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.jsonPrefer 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
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | none | Small uppercase label above the heading; only rendered when set. |
| heading | ReactNode | none | Hero heading rendered as an <h1>. |
| description | string | undefined | Intro paragraph below the heading. |
| programs | CertificationProgram[] | none | Certification rows rendered in a 2-column grid below the hero copy. |
| stats | SuccessStat[] | none | Success stats rendered inline below the CTA buttons. |
| primaryCta | CtaButton | none | Primary (filled) CTA button; href defaults to "#" when omitted. |
| secondaryCta | CtaButton | none | Secondary (outline) CTA button; href defaults to "#" when omitted. |
| className | string | none | Extra 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.
More Education Blocks
View all →academy-course-cards
Academy Course Cards
Academy section with an eyebrow, a two-column heading, and three course cards that float a lesson checklist above a category label, title, and lesson count.
institutional-quick-facts
Institutional Quick Facts
Quick facts grid displaying key institutional statistics with a large value, label, and short description per tile.
global-partnerships-grid
Global Partnerships Grid
Global partnerships section showcasing partner institutions with location details and yearly exchange statistics.
mission-and-vision-statement
Mission and Vision Statement
Side-by-side mission and vision text blocks with an inspirational leadership quote below.
social-media-links-grid
Social Media Links Grid
Social media connection section with platform cards showing handle and follower count.
education-social-proof
Education Social Proof
Social proof section pairing key stats (rating, enrollment, completion rate) with a featured student testimonial.