Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its avatar, avatar-initials dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/faculty-testimonials-grid.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/education/education7.tsx instead.
Usage
The file also exports education7Demo, 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 { Education7, education7Demo } from "@/components/blocks/education/education7"; export default function Page() { return <Education7 {...education7Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | none | Small uppercase label above the heading; only rendered when set. |
| heading | ReactNode | none | Section heading, centered above the faculty grid. |
| description | string | undefined | Centered intro text below the heading. |
| faculty | FacultyTestimonial[] | none | Faculty cards rendered in a responsive grid, up to 3 columns on desktop. |
| className | string | none | Extra classes for the outer section element. |
Types
type FacultyTestimonial = { quote: string; name: string; title: string; yearsExperience: string; avatar?: { src: string; alt: string }; };
Behavior notes
- faculty lays out 1 column on mobile, 2 on tablet, and 3 on desktop; any item count reflows to additional rows.
- Each avatar falls back to initials built from the first letter of up to two space-separated words in the faculty member's name when no avatar image is supplied.
- This is a static grid of testimonials; there is no filtering, pagination, or link-through to individual faculty profiles.
More Education Blocks
View all →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
Quick facts grid displaying key institutional statistics with a large value, label, and short description per tile.
Global Partnerships Grid
Global partnerships section showcasing partner institutions with location details and yearly exchange statistics.
Mission and Vision Statement
Side-by-side mission and vision text blocks with an inspirational leadership quote below.
Social Media Links Grid
Social media connection section with platform cards showing handle and follower count.
Education Social Proof
Social proof section pairing key stats (rating, enrollment, completion rate) with a featured student testimonial.