Search the documentation

Type to search page titles, component names and descriptions.

    Design

    Icons

    Porto Faifo Symbols: one family, three optical sizes.

    Icon draws from Porto Faifo Symbols, bundled with the package. Each symbol has its own drawing at 16, 20 and 24 pixels, so a small icon is not a large one scaled down, and every drawing sits on the pixel grid.

    The set is one of the three parts of Porto Faifo, an open collection of typefaces and interface symbols under the SIL Open Font License 1.1. Its symbols are drawn to match the strokes of Porto Faifo Sans, which is why an icon and the label beside it read as one thing. As of version 1.1.0 the collection has 322 symbols in four weights (Light, Regular, Medium and Bold), each with its own drawing at 14, 16, 20 and 24 pixels. Faifo Design bundles the Regular weight at 16, 20 and 24. The collection's site lets you search every symbol by name, alias or category, and the source is on GitHub.

    import { Icon } from 'faifo-design'
    
    export const Mark = () => <Icon name="package" size="small" tone="muted" />

    #Rules

    • One family, one size per context. small (16px) inside dense rows and compact controls, default (20px) beside interface text, large (24px) for a standalone mark.
    • An icon inherits the colour of its text. A tone is for meaning, not decoration.
    • An icon beside a label is decoration and is hidden from assistive technology. An icon that stands alone needs a label, or better, an IconButton that owns the name and the hit area.
    • Icons describe the interface. A person is an Avatar; an object's picture is a Thumbnail.

    #All symbols

    The name under each symbol is the name prop.