AppIcon
A wrapper around Iconify that provides easy sizing and coloring with Tailwind v4.
Install: pnpm add-component AppIcon
Basic usage
Use any Iconify icon name with the icon-[...] prefix.
Colored icons
Easily change colors with Tailwind classes.
Sizes
Presets or custom numeric sizes (rem).
API
name(string): Iconify class, e.g. "icon-[heroicons--home]" (or "icon-[mdi--github]" for a brand mark).size('xs' | 'sm' | 'md' | 'lg' | 'xl' | number | string): The size of the icon in rem or Tailwind class.color(string): Tailwind text color class or raw color value.