6 min readUpdated Mar 2, 2026

BuilderSidebar Component Documentation

Overview

The BuilderSidebar component is an integral part of the Vantage analytics and data platform. It serves as a customizable interface for users to configure various layout options and component settings, facilitating a more efficient user experience in building and organizing dashboards and reports. This component allows users to adjust layout types, section settings, and formatting choices, helping them tailor the interface to their needs.

Purpose

The primary purpose of the BuilderSidebar component is to provide users with an intuitive interface to:

Settings

The BuilderSidebar includes a comprehensive set of settings, each of which impacts the appearance and behavior of the component. Below are detailed descriptions of each setting:

1. Layout & Tabs

a. Layout Type

b. Tabs

2. Section Settings

a. Show Header

b. Header Style

c. Title

d. Subtitle

e. Icon

3. Formatting

a. Background Color

b. Border Style

Data Expectations

The BuilderSidebar expects a configuration object (config) that defines various properties related to layout, sections, and formatting. If some properties are missing, default values will be applied. The onAdd function handles the action of adding components based on user interaction, while the onConfigChange method is called to update the component state upon any configuration changes.

AI Integrations

No specific AI integrations are indicated within the provided code, but depending on Vantage's broader feature set, AI could be leveraged for features such as intelligent suggestions for layout configurations or component use based on user behavior analytics.

Billing Impacts

While the BuilderSidebar itself does not inherently have billing impacts, utilizing advanced features or requiring server-side configuration management might entail usage fees. It is advisable to consult Vantage's pricing model for details regarding usage tiers and billing consequences associated with extensive customization and layout configurations using this component.

Use Cases & Examples

Use Case 1: Dashboard Customization

A data analyst wants to create a customized dashboard that leverages multiple data visualization types across several tabs. They choose the "Tabbed" layout, name the tabs accordingly, and configure them to represent different data sources.

Use Case 2: Client Reporting Dashboard

A marketing team member needs to build a reporting dashboard for clients. They configure the sidebar to show a title for the report, select a header style that reflects their brand, and customize background colors for better readability.

Example Configuration for Use Case 1:

javascript
const exampleConfiguration = {
    layout: {
        type: 'tabbed',
        tabs: [
            { id: '1', title: 'Sales Metrics' },
            { id: '2', title: 'User Engagement' },
            { id: '3', title: 'Financial Overview' }
        ]
    },
    section: {
        showHeader: true,
        style: 'bold',
        title: 'Monthly Performance Report',
        subtitle: 'Summary of all key performance indicators',
        icon: 'BarChart'
    },
    backgroundColor: '#f3f4f6' // Grey background for enhanced visibility
};

// Sample Function Call to Update Config
onConfigChange(exampleConfiguration);

This configuration sets up a multi-tabbed layout with relevant titles while defining the overall section's aesthetic to meet user requirements, thus creating an effective reporting tool in Vantage.