Angular Icons
DocumentationConfigurationContent Security Policy

Content Security Policy

If your application has a strict Content Security Policy, add withContentSecurityPolicy to your configuration to avoid errors.

import { provideNgIconsConfig, withContentSecurityPolicy } from '@ng-icons/core';

bootstrapApplication(App, {
  providers: [provideNgIconsConfig({}, withContentSecurityPolicy())],
});