About this set
Two team or creator profile cards: a round gradient avatar with the person’s initials inside a thin ring, their name and role, a row of three stats and a pair of actions, a solid Follow button and an outlined Message button. The first card shows a designer with shots, followers and following; the second shows an engineer with repos in place of shots. Use them on team pages, community member lists, author boxes or a social app’s people directory. The stats are a real list and the avatar initials are hidden from screen readers because the name follows as a heading. Each button carries the person’s name as visually hidden text, so a page with many cards still has distinct Follow and Message buttons. The card lifts a few pixels with a deeper shadow on hover. The buttons have no behaviour attached, so wire them to your own follow and messaging logic. The Bootstrap version is a .card with .btn-dark and .btn-outline-secondary recoloured through –bs-btn-* variables, and the Tailwind version is utility classes only.
What’s included
- Gradient initials avatar with an outer ring drawn by ::after
- Three stats in a bordered row, marked up as a list
- Follow and Message buttons named per person with visually hidden text
- Hover lift that switches off under prefers-reduced-motion
- No JavaScript
Accessibility
Each card is an article with the person's name as its heading; the decorative initials are aria-hidden. The Follow and Message buttons include the person's name as visually hidden text, and both show a 3px indigo focus ring. The hover lift and button transitions are turned off under prefers-reduced-motion.
Customise it
Change the avatar gradients in .pf-a1 and .pf-a2 and the button colours in .pf-follow and .pf-msg. In Bootstrap the same colours are --bs-btn-bg and --bs-btn-border-color on .pf-follow and .pf-msg; in Tailwind edit the from-/to- and bg- utilities on the avatar and buttons.




















