Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

637 B
Raw Blame
import clsx from 'clsx';
import { Pin } from 'lucide-react';

interface SessionPinIndicatorProps {
  pinned: boolean;
  label: string;
  className?: string;
}

// Passive pinned-state marker for mobile project rows, where the row action menu
// remains the mutation surface.
export const SessionPinIndicator: React.FC<SessionPinIndicatorProps> = ({ pinned, label, className }) => {
  if (!pinned) return null;

  return (
    <span
      role="img"
      aria-label={label}
      title={label}
      className={clsx('flex shrink-0 text-cyan-ink', className)}
    >
      <Pin className="size-3" aria-hidden="true" />
    </span>
  );
};