SunUI
Founding$79 lifetime updates till Jan 11Claim a seat

SunUI Icons

Icons drawn to one standard.

Pixel, two-tone and line, drawn to one standard. Every icon moves, and one command installs a set.

$ npx shadcn@latest add https://sunui.synvize.com/r/icons/sunui-animated-pixel-icons.json

197 icons

M

Usage

Icons inherit currentColor and are hidden from screen readers unless you pass a title.

example.tsx
import { Icon } from "@/components/ui/sunui-icons";

// Decorative, next to a text label
<button><Icon name="cart" size={16} /> Add to cart</button>

// Standalone, announced as "Claimed"
<Icon name="stamp-check" title="Claimed" />

// Point the accent part at your theme color for one subtree
<div className="[--sunui-icon-accent:var(--primary)]">
  <Icon name="punch-card" />
</div>

Animated icons

AnimatedIcon uses the same shapes. Hover icons play when their parent button is hovered or focused, so the whole control is the trigger. Toggle icons follow active, and loading icons loop only while it is true. Under reduced motion every icon jumps straight to its end state.

animated.tsx
import { AnimatedIcon } from "@/components/ui/sunui-animated-icons";

// Plays the tear along the perforation when the button is hovered
<button><AnimatedIcon name="coupon" size={16} /> Claim coupon</button>

// Menu morphs into a close icon
<button aria-expanded={open} onClick={() => setOpen(!open)}>
  <AnimatedIcon name="menu" active={open} title={open ? "Close menu" : "Open menu"} />
</button>

// Fills with a short press
<AnimatedIcon name="heart" active={saved} />

// Spins only while loading
<AnimatedIcon name="loader" active={pending} />
Icons | SunUI