Sanity Library Reference Docs
    Preparing search index...
    • Beta

      Defines a tile view — docks on the dashboard with a footprint size.

      Deploying Applications via Blueprints is experimental. This may be subject to breaking changes.

      Parameters

      Returns BlueprintTileViewConfig

      The tile view declaration

      Configuration for a tile view.

      • name: string

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

      • Optionalorder?: 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.

      defineTileView({
      name: 'jump-back-in',
      title: 'Main Tile',
      src: './src/tiles/jump-back-in.tsx',
      size: 'banner',
      })