@mocanvas/mocanvas · constant

ICON_ALIASES

declare const ICON_ALIASES: {
    readonly "size-small": "size-s";
    readonly "size-medium": "size-m";
    readonly "size-large": "size-l";
    readonly "size-extra-large": "size-xl";
    readonly "tool-pointer": "select";
    readonly "tool-hand": "hand";
    readonly "tool-pencil": "draw";
    readonly "tool-eraser": "eraser";
    readonly "tool-highlight": "highlight";
    readonly "tool-laser": "laser";
    readonly "tool-text": "text";
    readonly "tool-note": "note";
    readonly "tool-frame": "frame";
    readonly "tool-arrow": "arrow";
    readonly "tool-line": "line";
    readonly "tool-media": "image";
    readonly "tool-screenshot": "screenshot";
    readonly "horizontal-align-start": "text-align-left";
    readonly "horizontal-align-middle": "text-align-center";
    readonly "horizontal-align-end": "text-align-right";
    readonly "vertical-align-start": "valign-top";
    readonly "vertical-align-middle": "valign-middle";
    readonly "vertical-align-end": "valign-bottom";
    readonly "align-center": "align-center-horizontal";
    readonly paste: "clipboard-copy";
    readonly "fill-semi": "fill-tint";
    readonly "fill-solid": "fill-full";
    readonly "cross-2": "close";
    readonly "question-mark-circle": "help-circle";
}

Second spellings for icons that already exist.

Mostly tldraw's names, so an app ported from it asks for artwork it gets rather than falling back to an initial. An alias never introduces a drawing: if two names should look different, they belong in ICONS.

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.