Skip to content
Corex

TeamRenderer

Corex\Ui\Blocks\TeamRenderer · class · Add-ons layer

Renders a team as a responsive grid of member figures — each with an optional photo from the media library, a name, a role, and a short bio. Members are a repeatable array attribute (spec 029); a member with no name is skipped, and an empty team renders nothing.

render(array $attributes, string $content, object $block): string

Section titled “render(array $attributes, string $content, object $block): string”