The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
import { ReactNode } from "react";
interface MenuIconProps {
icon: ReactNode;
text: string;
}
export function IconMenu({ icon, text }: MenuIconProps) {
return (
<div className="flex items-center justify-start space-x-2 truncate">
{icon}
<p className="truncate text-sm">{text}</p>
</div>
);
}