Skip to content
Haze UI

Team: featured profile and biography

An individual profile pairs an initials panel with a biography and a short list of interests.

pnpm dlx shadcn@latest add @haze/team-featured-profile
Open preview in a new tab
Liveno JavaScript

When to use

  • Introducing one person with more context than a compact team card allows
  • A team page needs a profile without relying on a portrait

When not to use

  • Several teammates should have equal emphasis; use team-profile-grid

Installation

Add the Haze registry to components.json once, then install Team: featured profile and biography with the shadcn CLI. Works in any Astro project with Tailwind CSS v4.

pnpm dlx shadcn@latest add @haze/team-featured-profile
First time? Registry and theme setup

1. Add to components.json:

{
  "registries": {
    "@haze": "http://localhost:4329/r/{name}.json"
  }
}

2. Install the theme once: npx shadcn@latest add @haze/theme, then import it after Tailwind in your global CSS:@import "./haze.css";

API reference

PropTypeDefaultDescription
idstring"team-featured-profile"Unique section ID prefix.
eyebrowstring"Example team profile"Label above the heading; the default identifies the fictional profile.
titlestringdemo headingSection heading.
headingLevel1 | 2 | 32Heading level; the person's name uses the next level.
namestring"Avery Solis"Person's name; the default is fictional.
initialsstring"AS"Decorative initials used in place of a portrait.
rolestring"Design lead"Person's role.
locationstring"Barcelona, Spain"Location shown beneath the role.
biographystringfictional biographyShort profile biography.
interestsstring[]3 example interestsShort list of areas the person cares about.
profileHrefstring–Optional destination for a fuller profile.
classstring–Additional section classes.

Keyboard interactions

Tab, Enter
Follow the optional profile link.

Accessibility

  • The profile has a heading and full name; initials and the location icon are decorative.
  • A descriptive profile link is rendered only when its destination is supplied.

Notes for AI

Copy into Claude Code, Cursor, Codex or any coding agent. Agents can also read the Markdown version of this page.

  • Install and use

    Install the Haze UI block "Team: featured profile and biography" with `npx shadcn@latest add @haze/team-featured-profile`. If components.json has no "@haze" registry yet, add "registries": { "@haze": "http://localhost:4329/r/{name}.json" }. If src/styles/haze.css does not exist yet, run `npx shadcn@latest add @haze/theme` once and import it from the global stylesheet after Tailwind. The CLI stops at an overwrite question when a Haze file already exists and differs, even with --yes, and then installs nothing after it: read its output. If the user has not edited their Haze files, re-run with --overwrite to take the registry versions; if they have, ask them before overwriting. Then import TeamFeaturedProfile from "@/components/haze/blocks/team-featured-profile.astro" (or the relative path) and render it where it fits the page. Keep Haze token classes (bg-background, text-muted-foreground, border-border...) and never hardcode colors. Docs: http://localhost:4329/blocks/team-featured-profile.md

  • Customize with real content

    Adapt the Haze team-featured-profile block for our product. Replace the demo values of these props with our real content: id, eyebrow, title, headingLevel, name, initials, role, location, biography, interests, profileHref, class. Keep the layout, the heading level rules and these accessibility details: The profile has a heading and full name; initials and the location icon are decorative. A descriptive profile link is rendered only when its destination is supplied. Do not add raw color classes; use the Haze tokens.

  • Choose the right block

    Before using team-featured-profile, check it fits: use it when introducing one person with more context than a compact team card allows; a team page needs a profile without relying on a portrait. Avoid it when several teammates should have equal emphasis; use team-profile-grid. Alternatives: @haze/team-profile-grid.

Dependencies

  • npm: @lucide/astro
  • @haze/utils
  • @haze/theme (one-time setup)

Source · Original Haze UI work.

Catalog

↑↓ moveEnter openEsc close

Keyboard shortcuts

CtrlK
Command palette
/
Focus search
←↑→↓
Move between cards
jk
Next / previous card
ci
Copy code / install command (detail page)
[]
Previous / next entry
?
This help
Esc
Close dialog