Hiyve Components - v1.0.0
    Preparing search index...

    How a game is laid out in the space it has: the card beside the world ('side'), or rising from the bottom in a sheet ('sheet', on a phone).

    interface GameShellLayout {
        compact: boolean;
        gap: number;
        height: number;
        hudHeight: number;
        kind: "side" | "sheet";
        padding: number;
        sheetMax: number;
        width: number;
    }
    Index

    Properties

    compact: boolean

    The HUD keeps to its essentials (narrower than 600 pixels)

    gap: number

    Space between the HUD, the world and the panel, in pixels

    height: number
    hudHeight: number

    The HUD row's height, in pixels

    kind: "side" | "sheet"
    padding: number

    Space round the edge, in pixels

    sheetMax: number

    The tallest the sheet rises, in pixels

    width: number

    The frame's size, in pixels