Angular

There's no Angular package yet. Every icon page gives you a ready standalone component to paste into your project, with your size, colour and stroke weight already applied.

Basic Usage

Open any icon, choose the Angular tab and copy the component. Then import it where you need it.

home-icon.component.ts (from the icon page)
import { Component, Input } from "@angular/core";

@Component({
  selector: "fm-home-icon",
  standalone: true,
  template: `
    <svg [attr.width]="size" [attr.height]="size" viewBox="0 0 24 24" fill="none" [style.color]="color">
      <!-- paths from the icon page -->
    </svg>
  `,
})
export class HomeIconComponent {
  @Input() size = 24;
  @Input() color = "currentColor";
}
Using it
@Component({
  imports: [HomeIconComponent],
  template: `<fm-home-icon [size]="20" color="#1265ec" />`,
})
export class Toolbar {}

Without a Component

For a quick prototype, link the SVG file from the CDN.

Template
<img src="https://cdn.fmicon.dev/svg/linear/home.svg" width="24" height="24" alt="Home" />

Styles

Pick any of the 8 styles on the icon page before copying.

Linear"linear"
Outline"outline"
Bold"bold"
Bulk"bulk"
Twotone"twotone"
Broken"broken"
Glass"glass"
Duotone"duotone"

Accessibility

Add aria-hidden="true" to the SVG when text sits next to it, and an aria-label on icon-only buttons.

Icon-only button
<button aria-label="Delete item">
  <fm-trash-icon aria-hidden="true" />
</button>