Skip to content

Icon

The Synergy icon mark rendered as an inline SVG. Inherits currentColor for easy theming.

pnpm dlx shadcn@latest add https://ui.synergyshock.com/r/synergy/icon.json
import { Icon } from "@/components/ui/synergy/icon"
export default function App() {
return <Icon className="h-8 w-8" />
}

Control the size with standard Tailwind utilities.

<Icon className="h-6 w-6" />
<Icon className="h-10 w-10" />
<Icon className="h-16 w-16" />

The SVG uses currentColor, so set the color with Tailwind or inline styles.

<Icon className="h-10 w-10 text-blue-500" />
PropTypeDefaultDescription
classNamestringCSS class applied to the <svg> element.
...propsReact.ComponentProps<"svg">Any standard SVG attributes.