Visivo capability

Lay out the page in HTML. Fill every slot from the project.

When the arrangement carries meaning, such as a KPI banner, a narrative report or a brand template you already have, write the layout in HTML and CSS. Each named slot holds a chart, table, markdown or input, so the numbers come from the same insights and metrics as every other dashboard.

EV Quarterly Brief
A template dashboard named EV Quarterly Brief: two KPI tiles above a bar chart and a pie chart, laid out in custom HTML and served from a visivo dist folder.
Captured from visivo 2.3.2. The headings and boxes are the template's HTML; each box is a named slot.
total_units_charttotal_revenue_chartunits_by_quarter_chartpowertrain_split_chart
How it works

What you get with Template dashboards

  1. Named slots

    Your CSS decides every size

    Mark an element with data-visivo-item="<name>" and the item with that name fills it.

  2. Safe HTML

    Checked when it compiles

    Scripts, event handlers, iframes, forms and external stylesheets are refused. The template renders in its own shadow root.

  3. Travels with the project

    The layout lives in the YAML

    The HTML is part of the config, so it ships with every deploy and every visivo dist bundle. You edit it as a file.

In the project

A layout in HTML, filled by name.

Template dashboards are edited as files. The canvas edits grid dashboards.

project.visivo.yml
dashboards:
- name: Quarterly Review
template: |
<style>
.kpi { height: 160px; }
.wide { height: 420px; }
</style>
<section class="banner">
<div class="kpi" data-visivo-item="revenue-kpi"></div>
<div class="kpi" data-visivo-item="margin-kpi"></div>
</section>
<p>Revenue held through the quarter.</p>
<div class="wide" data-visivo-item="revenue-by-month"></div>
Install command copied