Skip to content

armgit / kwant

Public Imported from GitHub
0

Your own team of AI bots in one self-hosted binary: spaces, every account you have, handoffs, approvals and routines. Open-source, self-hosted alternative to Grok Bot, Claude Duet and OpenAI dots. Rust + React.

571 B
Raw Blame
import React from 'react';
import type { DevBotRef } from '../devMode';
import { ModernAvatar } from './ModernAvatar';

/** 18 px bot faces in a row: the lead alone (Settings) or the whole team (the step 2 picker). */
export const TeamFaces: React.FC<{ bots: DevBotRef[]; size?: number; max?: number }> = ({ bots, size = 18, max = 4 }) => (
  <span className="inline-flex items-center gap-1 shrink-0" aria-hidden="true" data-team-faces>
    {bots.slice(0, max).map((b) => (
      <ModernAvatar key={b.id} role={b.avatar} name={b.name} size={size} />
    ))}
  </span>
);