Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

779 B
Raw Blame
/**
 * Marks where a conversation resumes after a break: a new day, or a long enough gap
 * that the next message belongs to a new sitting. Rendered as a quiet centered rule so
 * it reads as punctuation between turns rather than as a message of its own.
 */
export function ConversationSeparator({ label }: { readonly label: string }) {
  return (
    <div
      className="mt-4 mb-1 flex items-center gap-3 first:mt-0"
      data-testid="conversation-separator"
      role="separator"
      aria-label={label}
    >
      <span aria-hidden="true" className="h-px min-w-4 flex-1 bg-border" />
      <span className="shrink-0 text-xs text-muted-foreground tabular-nums">{label}</span>
      <span aria-hidden="true" className="h-px min-w-4 flex-1 bg-border" />
    </div>
  );
}