Canopy Pictogram — Best Practices

SkillDev tools

Best practices for the Canopy Pictogram component. Trigger when using lg-pictogram, LgPictogramComponent, or adding illustrative pictograms in an Angular project using Canopy.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Canopy Pictogram — Best Practices skill

What this skill tells your AI

The instructions your AI receives, as published by legal-and-general/canopy in skills/best-practice/pictogram/SKILL.md and read by ahel’s review.

This skill provides usage guidance and input reference for the Canopy lg-pictogram component from @legal-and-general/canopy.

Apply this skill whenever you use lg-pictogram or LgPictogramComponent.

See also: the icon skill for UI icons (UI icons are smaller, functional; pictograms are larger, illustrative).


Import

import { LgPictogramComponent } from '@legal-and-general/canopy';

Basic Usage

<!-- Default size, no fill -->
<lg-pictogram name="sun"></lg-pictogram>

<!-- With fill enabled (self-service applications only) -->
<lg-pictogram name="sun" [hasFill]="true"></lg-pictogram>

<!-- With a specific size -->
<lg-pictogram name="sun" size="md"></lg-pictogram>

Sizes

Always use one of these predefined sizes to ensure outlines look crisp:

Size tokenrempx
--content-pictogram-size-md232
--content-pictogram-size-lg580
--content-pictogram-size-xl10160

The size input accepts: md, lg, xl.

Pictograms should not be used below 32px.


Fill Behaviour

By default pictograms render without fill (outlines only). Use [hasFill]="true" to make the fill colour visible on neutral backgrounds. Only enable fill in self-service applications — do not set [hasFill]="true" in highly-branded scenarios such as the Dotcom CMS.

To apply a custom fill colour, use the colour input with a CSS variable name:

<lg-pictogram name="sun" colour="var(--colour-green-400)"></lg-pictogram>

Inputs

InputTypeDefaultRequiredDescription
namestringundefinedYesThe name of the pictogram.
sizePictogramSize'md'NoThe size of the pictogram (see sizes table).
hasFillbooleanfalseNoApplies the fill colour. Only use in self-service applications.
colourstringundefinedNoCSS variable for the pictogram fill colour, e.g. var(--colour-green-400).

Dos and Don'ts

Do

  1. Do scale pictograms according to the sizing chart — minimum 32px.
  2. Do use pictograms to support messages, empty states, or end-of-journey screens.
  3. Do enable [hasFill]="true" when using a pictogram in a self-service application to make the fill visible on neutral backgrounds.

Don't

  1. Don't use a pictogram in place of a UI icon.
  2. Don't use pictograms below 32px — use UI icons instead.
  3. Don't set [hasFill]="true" in highly-branded scenarios such as the Dotcom CMS.

Signals

GitHub stars
23
Forks
46
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
canopy-pictogram
Source
github.com/legal-and-general/canopy