Skip to main content
Version: 2026.04.0

Agent Directory

Not yet available

This component is planned but not yet published to the registry. The React install command below will not work until the component ships. The HTML preview shows the intended design.

A searchable directory of insurance agents with contact details and specialisations.

Preview · Agent Directory

Code​

<div class="vstack" style="max-width:360px">
<input type="search" placeholder="Search agents..." />
<div class="card" style="padding:0.875rem">
<div style="display:flex;gap:0.75rem;align-items:center">
<div style="width:40px;height:40px;border-radius:50%;background:color-mix(in srgb,var(--primary) 15%,transparent);display:flex;align-items:center;justify-content:center;font-weight:600;color:var(--primary);flex-shrink:0;font-size:0.875rem">SJ</div>
<div><p style="margin:0;font-weight:500;font-size:0.875rem">Sarah Johnson</p><p style="margin:0;font-size:0.75rem;color:var(--muted-foreground)">Auto · Home · Life</p></div>
<button class="outline small" style="margin-inline-start:auto">Contact</button>
</div>
</div>
</div>

Props​

PropTypeDefaultDescription
apiUrlstring—API base URL
agentsAgent[]—Agent list (Angular)

TypeScript interfaces​

interface Agent {
id: string;
name: string;
email: string;
phone?: string;
avatar?: string;
specializations: string[];
rating?: number;
available?: boolean;
}

Events​

EventTypeDescription
onContact / (onContact)(agent: Agent) => voidContact clicked
Version history

See the Changelog for version history and breaking changes.