Loading component…
Loading component…
A prompt types itself and branches out into three agents, each with a role and overlapping tool logos
To reuse this local React demo, copy all files from the Code tab into the same folder, then import AgentTeam from ./agent-team.
import { AgentTeam } from "@/components/ui/agent-team";
export function FeatureCard() {
return (
<article style={{ maxWidth: 560 }}>
<AgentTeam
prompt="Build a team to work my inbound pipeline"
members={[
{ role: "Lead Researcher", avatar: "/team/lena.jpg", tools: ["linkedin", "hubspot"] },
{ role: "Inbound Qualifier", avatar: "/team/theo.jpg", tools: ["hubspot", "slack"] },
{ role: "Outbound SDR", avatar: "/team/noah.jpg", tools: ["gmail", "salesforce"] },
]}
/>
</article>
);
}| Name | Type | Default | Description |
|---|---|---|---|
| prompt | string | "Build a team to work my inbound pipeline" | Text that types itself into the prompt pill |
| members | [AgentTeamMember, AgentTeamMember, AgentTeamMember] | Required. Three agents, left to right – { role, avatar, tools? } with up to two of linkedin, hubspot, slack, gmail, salesforce | |
| label | string | Accessible description – by default built from the prompt and the roles | |
| className | string | Extra class on the root, e.g. for width or margins |
Transparent background, so it sits on any light or dark surface
Keeps a 3 : 2 aspect ratio and scales to the width of its container – text and shapes are sized in container units
Dark mode built in: switches when an ancestor (usually <html>) has the class dark or data-theme="dark"
@import "tailwindcss"; in your main CSS file.