Use the 3,504 icons in 4 styles with your framework, from a CDN, or as plain SVG.
Healing Icons has 3,504 icons in 4 styles. Pick the package for your stack: every package has the same icons, names and options.
Icon names are English kebab-case, like arrow-left. Components use PascalCase with an Icon suffix: ArrowLeftIcon (names that start with a digit get a prefix instead: Icon2fa). Find names with the search on the icon library, or press Ctrl K there.
Every package exposes the styles as entry points: …/outline (the default), …/outline-duo, …/fill and …/glyph-duo. Icons are drawn on an 18 × 18 grid; outline icons use a 1.5 stroke.
Single-color icons use currentColor, so they follow the text color unless you set color. Duo styles have a second layer you can recolor with secondaryColor.
import { HeartIcon } from "@healing-icons/react"; // outline (default)
import { HeartIcon as HeartFill } from "@healing-icons/react/fill";
export function Like({ liked }) {
return liked ? <HeartFill color="tomato" title="Liked" /> : <HeartIcon size={20} />;
}Each icon is its own module, so bundlers only ship the icons you import. You can also import a single file: import HeartIcon from "@healing-icons/react/outline/HeartIcon". Components forward ref and pass other props (className, onClick, aria-*) to the <svg>. They work in Server Components.
<script setup>
import { HeartIcon } from "@healing-icons/vue";
import { HeartIcon as HeartFill } from "@healing-icons/vue/fill";
defineProps(["liked"]);
</script>
<template>
<HeartFill v-if="liked" color="tomato" title="Liked" />
<HeartIcon v-else :size="20" :stroke-width="2" />
</template>Vue 3.3 or newer. Props can be written in kebab-case (secondary-color, stroke-width). class, style and listeners such as @click fall through to the <svg>.
<script>
import HeartIcon from "@healing-icons/svelte/outline/HeartIcon";
import HeartFill from "@healing-icons/svelte/fill/HeartIcon";
let { liked } = $props();
</script>
{#if liked}
<HeartFill color="tomato" title="Liked" />
{:else}
<HeartIcon size={20} />
{/if}Svelte 5. Single-icon imports (…/<style>/<Component>) are the fastest, in dev and in builds. Named imports such as import { HeartIcon } from "@healing-icons/svelte/fill" also work and are tree-shaken, but make the Vite dev server process the whole style once.
import { Component, input } from "@angular/core";
import { HealingIcon, HeartIcon } from "@healing-icons/angular";
import { HeartIcon as HeartFill } from "@healing-icons/angular/fill";
@Component({
selector: "app-like",
imports: [HealingIcon],
template: `
@if (liked()) {
<healing-icon [icon]="HeartFill" color="tomato" title="Liked" />
} @else {
<healing-icon [icon]="HeartIcon" [size]="20" />
}
`,
})
export class LikeComponent {
readonly liked = input(false);
protected readonly HeartIcon = HeartIcon;
protected readonly HeartFill = HeartFill;
}Angular 17 or newer. <healing-icon> is a standalone component; icons are plain data, so only the ones you import end up in the build. It supports server rendering (hydration skips the icon and re-creates it on the client).
With Expo, install the renderer with npx expo install react-native-svg.
import HeartIcon from "@healing-icons/react-native/outline/HeartIcon";
import HeartFill from "@healing-icons/react-native/fill/HeartIcon";
export function Like({ liked }: { liked: boolean }) {
return liked ? <HeartFill color="tomato" title="Liked" /> : <HeartIcon size={20} color="#14201b" />;
}React Native has no inherited text color, so color defaults to black. Metro doesn't tree-shake, so prefer single-icon imports as above. title becomes the accessibility label; other react-native-svg props (style, onPress, testID) go to the <Svg>.
<healing-icon> works in plain HTML and in any framework. The quickest start is a CDN: the lazy build loads each icon the first time it's used.
<script type="module" src="https://cdn.jsdelivr.net/npm/@healing-icons/elements/dist/lazy.js"></script> <healing-icon name="heart"></healing-icon> <healing-icon name="heart" variant="fill" size="32" color="tomato" label="Liked"></healing-icon>
With a bundler, install the package and import the icons you use:
import "@healing-icons/elements"; import "@healing-icons/elements/outline/heart"; // registers <healing-icon name="heart"> import "@healing-icons/elements/fill/star"; // registers <healing-icon name="star" variant="fill">
Attributes mirror the component props in kebab-case (secondary-color, stroke-width, absolute-stroke-width); use label for an accessible name. The icon renders in a shadow root; style it with healing-icon::part(svg). In Vue, mark it as a custom element (compilerOptions.isCustomElement); in Angular, add CUSTOM_ELEMENTS_SCHEMA.
The healing-icons package has the optimized SVG files, at healing-icons/svg/<style>/<name>.svg.
import heartUrl from "healing-icons/svg/outline/heart.svg";
<img src={heartUrl} width="24" height="24" alt="" />Every file is also on jsDelivr and unpkg. Pin a version in production. An <img> can't follow the text color; use the icon as a CSS mask for that:
<img src="https://cdn.jsdelivr.net/npm/healing-icons@0.9/svg/outline/heart.svg" width="24" height="24" alt="">
<style>
.icon-heart {
width: 24px; height: 24px;
background: currentColor;
mask: url(https://cdn.jsdelivr.net/npm/healing-icons@0.9/svg/outline/heart.svg) center / contain no-repeat;
}
</style>Sprites put many icons in one file. Build one with just the icons you need, then reference them with <use>:
npx healing-icons sprite heart star arrow-left --style outline --out public/icons.svg
<svg width="24" height="24"><use href="/icons.svg#heart"/></svg>
On the icon library, Select icons to download them as a ZIP of SVG files or as a sprite.
@healing-icons/font has every icon as a font, one per style. Type an icon's name and it turns into the icon: in Figma, Word, PowerPoint and anywhere else that supports ligatures. Each icon also has a fixed code point for Windows apps and plain HTML.
Install. Windows: right-click the .ttf files → Install for all users. macOS: open each file → Install Font. Restart the apps that should see them; Figma in the browser needs the Figma font helper (desktop app: nothing to add).
Figma, Word, PowerPoint. Pick a font such as Healing Icons Outline and type the icon's name in lowercase: heart, arrow-left, user-plus. Nothing shows until the name is complete; then size and color work like any text. In Word, if the name stays as text, turn on Font → Advanced → Ligatures: Standard Only, or type the code point (e631) and press Alt X.
Web. Install the package (or use the CDN), then use a class per icon or type the name:
npm install @healing-icons/font
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@healing-icons/font@0.9/dist/healing-icons.css"> <!-- or, with a bundler: import "@healing-icons/font"; --> <i class="hi-font-outline hi-heart" aria-hidden="true"></i> <!-- class per icon --> <i class="hi-font-fill" aria-hidden="true">heart</i> <!-- ligature --> <button><i class="hi-font-outline hi-trash" aria-hidden="true"></i> Delete</button>
hi-font-outline, hi-font-outline-duo, hi-font-fill and hi-font-glyph-duo pick the style; size and color follow font-size and color, and the animation classes work too. Font icons are text to a screen reader: keep aria-hidden="true" and name icon-only buttons with aria-label.
Windows apps (WinUI, WPF, UWP). Use the code point shown in each icon's Font tab (also codepoint in healing-icons/icons.json). Code points never change, and the same code point is the same icon in all 4 styles.
<!-- WinUI 3: copy the .ttf to Assets/ --> <FontIcon FontFamily="/Assets/healing-icons-outline.ttf#Healing Icons Outline" Glyph="" /> <!-- WPF: add the .ttf as a Resource in Fonts/ --> <TextBlock FontFamily="pack://application:,,,/Fonts/#Healing Icons Outline" Text="" />
Limits. Strokes are fixed at 1.5: use the SVGs or components to change them. The duo styles draw their faded layer as a COLRv1 color layer in the text color (Chrome, Edge, Firefox, Windows 11); Safari and apps without color fonts show the single-color version. A font loads every icon of its style (300–480 KB as WOFF2), so on the web prefer the components when you can.
Search icons with previews and insert them as code for the file you're in (Ctrl Alt I), with the import added. Hover an icon name to see it.
Install the fonts, then type an icon's name in Figma, Word or PowerPoint and it turns into the icon. Also CSS classes for the web and code points for WinUI and WPF.
code --install-extension hoanghuilinh.healing-icons-vscode
The same options in every package. React Native accepts numbers only for size; the web component takes them as kebab-case attributes.
| Prop | Default | Description |
|---|---|---|
| size | 24 | Width and height (number or CSS length) |
| color | currentColor | Icon color; single-color icons follow the text color |
| secondaryColor | color | Color of the second layer of duo icons |
| strokeWidth | 1.5 | Stroke width of outline icons, in grid units (18 per icon) |
| absoluteStrokeWidth | false | Treat strokeWidth as pixels, the same at every size |
| title | Accessible name; without it the icon is hidden from screen readers |
Every package exports an IconName type (a union of all names) and IconStyle. When the icon is only known at runtime (CMS, config), DynamicIcon loads it on demand:
import { DynamicIcon, type IconName } from "@healing-icons/react/dynamic";
function MenuItem({ icon, label }: { icon: IconName; label: string }) {
return (
<li>
<DynamicIcon name={icon} variant="fill" fallback={<span className="size-6" />} />
{label}
</li>
);
}Vue and Svelte: DynamicIcon from …/dynamic (with a fallback slot / snippet). Angular: <healing-dynamic-icon [name]="…"> from @healing-icons/angular/dynamic. Web component: the lazy build always loads by name.
Prefer static imports when you can. With DynamicIcon, every icon becomes a lazy chunk of your build (React Native's Metro bundles all of them), and showing one costs an extra request.
Set size, color, secondaryColor, strokeWidth or absoluteStrokeWidth once for every icon; props on an icon still win. variant picks the default style of DynamicIcon, so a whole app can switch from outline to fill in one place.
import { HealingIconsProvider } from "@healing-icons/react";
<HealingIconsProvider size={20} strokeWidth={1.75} variant="fill">
<App />
</HealingIconsProvider>import { createApp } from "vue";
import { createHealingIcons } from "@healing-icons/vue";
createApp(App).use(createHealingIcons({ size: 20, strokeWidth: 1.75 })).mount("#app");In Next.js and other React Server Components setups, the provider applies to icons rendered in client components; icons in Server Components use their own props.
Every package ships animations.css. Import it once, then add a class: hi-spin, hi-spin-reverse, hi-pulse (spins in 8 steps), hi-beat, hi-fade, hi-bounce, hi-shake, hi-wiggle or hi-float. Try them in the icon dialog on the library.
import "@healing-icons/react/animations.css";
import { LoaderIcon, BellIcon } from "@healing-icons/react";
<LoaderIcon className="hi-spin" />
<BellIcon className="hi-wiggle" style={{ "--hi-animation-duration": "2s" }} /><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@healing-icons/elements@0.9/dist/animations.css"> <healing-icon name="heart" class="hi-beat"></healing-icon>
Tune them with custom properties on the icon or a parent: --hi-animation-duration, --hi-animation-delay, --hi-animation-iteration-count, --hi-animation-timing, plus --hi-beat-scale, --hi-fade-opacity and --hi-bounce-height. Animations stop for people who ask for reduced motion. React Native has no CSS: use Animated or Reanimated.
The website's search (synonyms, small typos, Vietnamese, old names) is also a command and a module:
npx healing-icons search shopping cart npx healing-icons search trash --style fill --limit 5 --json
import { rankIcons } from "healing-icons/search";
import icons from "healing-icons/icons.json" with { type: "json" };
rankIcons(icons, "giỏ hàng", (icon) => icon).slice(0, 5).map((icon) => icon.name);Point your assistant at /llms.txt: it lists these docs as plain markdown (/docs.md, /llms-full.txt), so answers come from the current version instead of stale training data.
Assistants that can run commands can find icons with npx healing-icons search <words> --json (see above), which returns names, component names, styles and tags.
When an icon is renamed, its old name keeps working as a deprecated alias: the old component, SVG file, DynamicIcon name and web component name all render the new icon, and editors strike through the old import. The icon's page lists its former names, and old links redirect. Aliases are removed only in a major version; the changelog lists every rename.
Icons are decorative by default: they're hidden from screen readers (aria-hidden). When an icon carries meaning on its own, give it a title (label on the web component) and it becomes an image with that name.
// Icon-only button: name the button, keep the icon decorative. <button aria-label="Delete"><TrashIcon /></button> // Icon that stands alone <WarningIcon title="Warning" color="#b45309" />
Three rules cover most cases. Decorative (next to visible text): leave it as is. Icon-only control (a button or link with no text): put the name on the control with aria-label, not on the icon. Status icon (meaning without text, like a warning in a table cell): give the icon a title.
Keep icons at least 16 px, and give interactive ones a 24 × 24 px target or larger (44 px on touch screens). Icons follow the text color, so text contrast rules apply: 3:1 against the background for icons that carry meaning. Animated icons stop for people who ask for reduced motion.
For contributors and for checking icons exported from Figma. Every icon is drawn on an 18 × 18 grid (viewBox="0 0 18 18") with about 1.5 units of padding for most shapes. Names are English kebab-case (arrow-left), one folder per style and category: icons/<style>/<category>/<name>.svg.
Outline: strokes only, stroke-width="1.5", round caps and joins, no fills. Fill: solid shapes; holes are cut out, not painted white. Outline duo and glyph duo: the second layer is marked data-color="color-2" so secondaryColor can recolor it. Use a single color (black) everywhere else: the build turns it into currentColor. Avoid masks, filters, embedded images and text; convert text and strokes you want filled to outlines.
Every icon should exist in all 4 styles with the same name. The admin's SVG check (and the build) reject scripts, event handlers and missing viewBoxes, and warn about the rest of these rules.
The icon is black or the wrong color. Icons use currentColor: set color on the icon or a parent. An <img> can't inherit color; inline the SVG, use the component, or the CSS mask from SVG files. React Native has no inherited color: pass color.
Module not found for an icon. Check the exact name with npx healing-icons search <word>; component names add Icon (arrow-left → ArrowLeftIcon) and each style has its own entry (…/fill). If an icon was renamed, the old name still works until the next major version.
Strokes look too thick or thin when scaled. strokeWidth is in grid units, so it scales with size; add absoluteStrokeWidth to keep it in pixels.
Web component shows nothing. With a bundler, import each icon (@healing-icons/elements/<style>/<name>) or the lazy build; on a CDN, use dist/lazy.js with type="module". Check the browser console for a 404 on the icon file.
Animations don't play. Import animations.css from your package, and check that the operating system isn't set to reduce motion.