Sanity Library Reference Docs
    Preparing search index...

    Interface BlueprintTileViewConfigBeta

    Configuration for a tile view.

    Discriminated by surface. The definer transforms surface: 'tile' to the emitted view type: 'tile'.

    interface BlueprintTileViewConfig {
        name: string;
        order?: number;
        size: "small" | "large" | "banner";
        src: string;
        surface: "tile";
        title: string;
        type: "view";
    }
    Index

    Properties

    name: string

    Unique within the application. Must match ^[a-zA-Z0-9_-]+$.

    order?: number

    Sort position within its layout track, ascending.

    Omitted — ordering falls back to the dashboard application's built-in settings.
    
    size: "small" | "large" | "banner"

    The footprint family the dashboard lays the tile out by.

    src: string

    The location of the view source code, relative to the application root.

    surface: "tile"

    The surface the view targets.

    title: string

    Human-readable title for the view.

    type: "view"

    Set by the view definers.