3 min readUpdated Mar 2, 2026

SpacerTile

Overview

The SpacerTile is a component used within the Vantage analytics and data platform to create intentional gaps in dashboard layouts. This invisible tile helps in achieving better visual separation between other components, enhancing the overall user experience. In edit mode, it displays a dashed border for visibility and selection, while it remains transparent and non-interactive in view mode.

Settings

The SpacerTile component accepts several settings, although the current implementation does not include configurable properties. Below are the aspects related to the component's configuration and behavior:

1. config

2. isEditing

How it Works

When the SpacerTile component is rendered, it conditionally applies different CSS classes based on the isEditing prop.

The component also includes minimum size constraints. The minimum width (minW) and minimum height (minH) are both set to 1, which ensures that the tile can at least occupy a single unit of size in both dimensions.

Data Expectations

The SpacerTile does not expect any specific data inputs from external sources, as its primary function is to serve as a layout spacer. It does rely on the isEditing state to determine its visibility attributes.

Use Cases & Examples

Use Cases

  1. Dashboard Customization:

    • Users may want to customize their dashboards by introducing gaps between various analytical tiles (graphs, charts, etc.) to avoid clutter and improve aesthetics.
  2. Mobile Responsiveness:

    • In mobile layouts, additional spacing may be required to ensure that components do not appear too close together, leading to a better touch-friendly interface.
  3. Guiding Visual Hierarchy:

    • The SpacerTile can be used to visually define sections within a dashboard, guiding users' attention to relevant data segments without overwhelming visual noise.

Example Configuration

Use Case: Dashboard Customization with Intentional Gaps

Scenario: A data analyst wishes to introduce spacing in a financial dashboard to separate quarterly performance indicators and annual summary charts for clearer visibility.

Configuration:

javascript
const dashboardConfig = {
    tiles: [
        { type: 'GraphTile', data: quarterlyPerformanceData },
        { type: 'SpacerTile', config: {}, isEditing: true },
        { type: 'GraphTile', data: annualSummaryData },
    ]
};

In this configuration:

In edit mode, the SpacerTile would be visible, allowing the user to adjust or remove it, while ensuring that the data tiles remain distinct and easy to interpret.