5 min readUpdated Mar 2, 2026

FilterTile Documentation

Overview

The FilterTile is a reusable component designed for the Vantage analytics & data platform. Its primary purpose is to allow users to apply and visualize multiple filters for data sets. The Tile facilitates user interaction by enabling the selection of filters that define the criteria for data analysis, ultimately helping users drive insights based on specific requirements.

Settings

1. Height

2. Width

3. Filters

4. Title

5. Subtitle

How It Works

The FilterTile component dynamically renders a list of filters provided through the filters prop. Each filter is presented with a checkbox-like interface, where users can visually manage their selections. The selected state is indicated through styling changes, including background color and checkmark icons. The component also includes a progress bar for each filter option, indicating the associated count of items, which can help users in decision-making.

User selections and interactions with these filters are not described in the given code but can be assumed to interact with broader data querying logic in the Vantage platform, potentially enabling users to see live updates in related analytics.

Data Expectations

The filters prop must be passed as an array of objects, each containing:

The FilterTile will process this array and render each filter dynamically, resulting in user-selectable options.

Use Cases & Examples

Use Cases

  1. Customer Segmentation: Analyze user behavior by applying filters based on demographics, purchase history, or engagement metrics.
  2. Sales Data Analysis: Allow sales managers to filter data by product type, sales region, or date ranges to extract actionable insights.
  3. Marketing Campaign Performance: Filter data related to specific campaigns to evaluate performance metrics and demographics response rates.

Example Configuration

Use Case: Sales Data Analysis

To set up a FilterTile to help sales managers filter data based on product type, here’s a sample configuration:

json
{
    "config": {
        "height": 4,
        "width": 3,
        "filters": [
            {
                "label": "Electronics",
                "selected": false,
                "count": 150
            },
            {
                "label": "Clothing",
                "selected": true,
                "count": 75
            },
            {
                "label": "Home Goods",
                "selected": false,
                "count": 50
            }
        ]
    },
    "title": "Sales Filters",
    "subtitle": "Select the product types to refine your sales data",
    "footerText": "Click on the filters to apply",
    "footerColor": "#6B7280"
}

In this example:

This configuration effectively allows sales managers to easily navigate through product-related data to focus on their insights.