Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button, badge, media-slot dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/executive-chef-profile.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/food/food26.tsx instead.
Usage
The file also exports food26Demo, 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 { Food26, food26Demo } from "@/components/blocks/food/food26"; export default function Page() { return <Food26 {...food26Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Executive Chef" | Small label above the chef's name. |
| name | string | none | Chef's full name. |
| title | string | none | Chef's title/role line under their name. |
| portrait | MediaSlotImage | undefined | Portrait photo; falls back to a placeholder when omitted. |
| quote | string | none | Short philosophy/mission quote. |
| credentials | string[] | [] | Plain-text training/credential lines. |
| awards | string[] | [] | Award badge labels. |
| social | SocialLink[] | [] | Icon-only social/contact links. |
| className | string | none | Extra classes for the outer section element. |
Types
type SocialLink = { label: string; href: string; icon: "instagram" | "website" | "press" | "email"; };
Behavior notes
- The `icon` field on SocialLink is a closed union mapped internally to a fixed set of lucide-react icons (Instagram -> Camera, Website -> Globe, Press -> Newspaper, Email -> Mail); this repo's pinned lucide-react version has no brand-specific social icons, so these are generic stand-ins, same pattern used elsewhere in the block catalog.
- Social links render as icon-only outline buttons linking out via `render={<a ... target="_blank" rel="noreferrer" />}`; the email entry is expected to use a `mailto:` href.
- credentials and awards each independently collapse to nothing when empty; the quote always renders.
More Food Blocks
View all →Loyalty Rewards Program
Four-tier rewards program with points earning steps, benefit lists, and app store download buttons.
Gift Card Shop
Gift card purchase interface with preset amounts, custom input, digital/physical delivery options, and live preview.
Online Ordering Hub
Delivery platform cards with logos, fees, and delivery times alongside pickup info with address and phone.
Expandable Menu Accordion
Collapsible menu items revealing full images, calorie counts, protein info, and allergen badges.
Daily Specials Chalkboard
Dark-themed chalkboard-style menu with decorative corners, day labels, and timestamp.
Dietary Filter Menu
Interactive menu with dietary filter buttons (vegetarian, vegan, gluten-free) and allergen warnings.