About
A lightweight SVG icon component that renders any icon from a small built-in outline icon set by name, with configurable size and color.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Icon to your project and fits it to your theme.
Code
How Icon is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Icon from "@/components/ui/icon";
export default function IconCustomColorDemo() {
return (
<div className="flex items-center justify-center p-6">
<Icon name="check" color="var(--tatva-color-success)" size="xl" />
</div>
);
}



