Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
import { Avatar } from '@colanode/ui/components/avatars/avatar';
interface TabProps {
id: string;
avatar?: string | null;
name: string;
}
export const Tab = ({ id, avatar, name }: TabProps) => {
return (
<div className="flex items-center space-x-2">
<Avatar id={id} avatar={avatar} name={name} className="size-4" />
<span>{name}</span>
</div>
);
};