Search the documentation

Type to search page titles, component names and descriptions.

    Design

    Design values

    What Faifo Design is for, and the decisions that follow from it.

    Faifo Design is the interface language of operational software: the screens people keep open all day to take orders, receive stock, reconcile a bank statement or close a period. Those screens are dense, repeated thousands of times, and judged by how little they get in the way.

    #What it optimizes for

    • Scanning before reading. A list is compared row against row, so numbers are tabular and aligned, statuses are short labels with a tone, and nothing decorative competes with the data.
    • Density with rhythm. Interface text is 13 pixels and a control is 32 pixels high. Density works because spacing comes from one scale and the same role has the same distance everywhere.
    • One boundary, not many. A working region has one frame between it and the canvas. Groups inside it are separated by space, a heading or a hairline, never by another box.
    • State you can link to. A filter, a tab, a selected period and an open record are part of the URL. A screen survives a reload, Back, and being sent to a colleague.
    • HTML that works first. A page is rendered on the server and is usable before any script runs. Scripts add what HTML cannot express; islands hold state only where a screen needs it.

    #Three levels

    Everything a component draws sits on one of three levels, and a component knows its level from where it renders:

    LevelWhat it isExamples
    CanvasThe page behind the workThe grey page background, a board, a dashboard
    Working surfaceA region the reader works inSurface, a table on the canvas, a record body
    OverlayContent above the pageModalSheet, Dialog, menus, popovers, toasts

    The layout rules turn these levels into concrete decisions, and elevation gives each overlay its place in one layer scale.

    #Who decides what

    A component owns its markup, its data-ui hooks, its labels and associations, its inside spacing, its type and its responsive behaviour. The parent layout owns the gaps between siblings. An application supplies translated content, data, permissions, URLs and callbacks. It does not rebuild a component, and it does not restyle one.

    When a component cannot express what a screen needs, the component changes: reuse, then compose, then extend, then add. A local override is not an extension.

    #The brand

    The logo is the mark beside the wordmark "Faifo Design". The wordmark is outlined from Porto Faifo Sans, "Faifo" in Bold and "Design" in Medium, so it does not wait for the font. In a lockup the capitals are 40% of the height of the mark and the gap is 27% of that height.

    File in src/brand/ (published as dist/brand/)Use
    faifo-design-mark.png (256 px), faifo-design-mark-96.pngThe mark alone: favicon, avatar, narrow rail
    faifo-design-wordmark.svgThe wordmark alone; it takes currentColor
    faifo-design-logo-light.pngLockup with dark ink, for light backgrounds
    faifo-design-logo-dark.pngLockup with light ink, for dark backgrounds

    brand/faifo-app-icon.png at the package root is the app icon at its full resolution (824 px, transparent corners). It is the master the marks above are scaled from, kept for later work on products of the same family, and is not part of the published package.