The workshop
Every component of the kit rendered live from the same xg-ui.css and xg-ui.js a product loads: 40 components, 29 of them with a full state grid. Nothing here is a picture. Switch every example at once below, or one example with its own controls; the header switches the whole site.
Actions
BetaRules and markup
The action a view exists for: save, create, launch, apply. Rule: One primary button per view or dialog. Everything else is secondary or ghost.
| State | Primary | Secondary | Ghost | Danger |
|---|---|---|---|---|
| Default | ||||
| Hover | ||||
| Pressed | ||||
| Focus | ||||
| Disabled | ||||
| Busy |
Markup
<div class="xg-row">
<button class="xg-btn" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M12 5v14"/>
<path d="M5 12h14"/>
</svg>Create campaign</button>
<button class="xg-btn xg-btn--secondary" type="button">Cancel</button>
<button class="xg-btn xg-btn--ghost" type="button">Skip for now</button>
<button class="xg-btn xg-btn--danger" type="button">Delete</button>
</div>Markup
<div class="xg-row">
<button class="xg-btn xg-btn--sm" type="button">Small · 32</button>
<button class="xg-btn" type="button">Medium · 40</button>
<button class="xg-btn xg-btn--lg" type="button">Large · 48</button>
</div>BetaRules and markup
A square button whose icon is universally read: close, more, edit, delete, search. Rule: Only icons from the UI glyph set (24 px grid, 2 px stroke). No pictorial or brand icons.
| State | Ghost | Secondary | Primary |
|---|---|---|---|
| Default | |||
| Hover | |||
| Focus | |||
| Disabled |
Markup
<div class="xg-row">
<button class="xg-btn xg-btn--ghost xg-btn--icon" type="button" aria-label="Edit">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M4 20h4L19 9a2.8 2.8 0 0 0-4-4L4 16v4Z"/>
<path d="m13.5 6.5 4 4"/>
</svg>
</button>
<button class="xg-btn xg-btn--secondary xg-btn--icon" type="button" aria-label="Download report">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M12 4v11"/>
<path d="m7 10 5 5 5-5"/>
<path d="M4 20h16"/>
</svg>
</button>
<button class="xg-btn xg-btn--icon" type="button" aria-label="Add">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M12 5v14"/>
<path d="M5 12h14"/>
</svg>
</button>
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</div>BetaRules and markup
Several actions on one object, joined: export formats, chart views, row actions. Rule: Same variant and size for every button in the group; secondary is the norm.
| State | Group |
|---|---|
| Default | |
| Hover on one | |
| Focus on one |
Markup
<div class="xg-btn-group" role="group" aria-label="Export">
<button class="xg-btn xg-btn--secondary xg-btn--sm" type="button">CSV</button>
<button class="xg-btn xg-btn--secondary xg-btn--sm" type="button">XLSX</button>
<button class="xg-btn xg-btn--secondary xg-btn--sm" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<rect x="8" y="8" width="13" height="13" rx="2"/>
<path d="M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h3"/>
</svg>Copy link</button>
</div>Link
BetaRules and markup
Navigation inside running text or as a “see all” line under a card. Rule: Inline links are underlined; the arrow variant is for standalone “View all reports →”.
| State | Inline | Arrow |
|---|---|---|
| Default | View report | View report |
| Hover | View report | View report |
Fill rate is calculated from matched requests. View all reports
Markup
<p style="margin:0">Fill rate is calculated from <a class="xg-link" href="#">matched requests</a>. <a class="xg-link xg-link--arrow" href="#">View all reports</a>
</p>Forms
Input
BetaRules and markup
A single-line text field with label, hint and error, as one Field. Rule: Label above the field, always visible; placeholder is an example, never the label.
| State | Text |
|---|---|
| Default | |
| Hover | |
| Focus | |
| Filled | |
| Error | |
| Read-only | |
| Disabled |
Shown in reports. 60 characters max.
Enter a budget of at least $50
Markup
<div class="xg-stack" style="max-width:360px">
<div class="xg-field">
<label class="xg-label" for="cmp-name">Campaign name</label>
<input class="xg-input" id="cmp-name" placeholder="e.g. Holiday promo — CTV" aria-describedby="cmp-name-h">
<p class="xg-hint" id="cmp-name-h" style="margin:0">Shown in reports. 60 characters max.</p>
</div>
<div class="xg-field">
<label class="xg-label" for="cmp-budget">Daily budget</label>
<div class="xg-input-group">
<span class="xg-input-group__prefix">$</span>
<input class="xg-input" id="cmp-budget" inputmode="decimal" value="25" aria-invalid="true" aria-describedby="cmp-budget-e">
</div>
<p class="xg-error" id="cmp-budget-e" style="margin:0">Enter a budget of at least $50</p>
</div>
</div>Textarea
BetaRules and markup
Multi-line text: notes, ad markup, allow and block lists. Rule: Say in the hint how entries are separated (“one domain per line”).
| State | Textarea |
|---|---|
| Default | |
| Hover | |
| Focus | |
| Error | |
| Disabled |
One domain per line. Up to 5,000.
Markup
<div class="xg-field" style="max-width:420px">
<label class="xg-label" for="blk">Blocked domains <span class="xg-opt">optional</span>
</label>
<textarea class="xg-textarea" id="blk" aria-describedby="blk-h">example-news.com
example-games.io</textarea>
<p class="xg-hint" id="blk-h" style="margin:0">One domain per line. Up to 5,000.</p>
</div>Select
BetaRules and markup
One value from a list of up to about fifteen known options. Rule: Native <select> by default: it is accessible, keyboard-complete and right on touch devices.
| State | Select |
|---|---|
| Default | |
| Hover | |
| Focus | |
| Error | |
| Disabled |
Markup
<div class="xg-row" style="align-items:flex-end">
<div class="xg-field" style="width:220px">
<label class="xg-label" for="fmt">Ad format</label>
<select class="xg-select" id="fmt">
<option>Banner</option>
<option selected>Video (VAST)</option>
<option>Native</option>
<option>Audio</option>
<option>CTV</option>
</select>
</div>
<div class="xg-field" style="width:220px">
<label class="xg-label" for="int">Integration</label>
<select class="xg-select" id="int">
<option>Prebid</option>
<option>OpenRTB</option>
<option>Tags</option>
</select>
</div>
<div class="xg-field" style="width:180px">
<label class="xg-label" for="cur">Currency</label>
<select class="xg-select" id="cur" disabled>
<option>USD</option>
</select>
</div>
</div>Checkbox
BetaRules and markup
Independent yes/no choices, and row selection in tables. Rule: Label to the right, clickable. Positive phrasing (“Send weekly report”, not “Don’t send…”).
| State | Checkbox |
|---|---|
| Unchecked | |
| Checked | |
| Indeterminate | |
| Disabled | |
| Disabled checked |
Markup
<fieldset class="xg-fieldset">
<legend class="xg-label">Ad formats</legend>
<label class="xg-check">
<input type="checkbox" checked>Banner</label>
<label class="xg-check">
<input type="checkbox" checked>Video</label>
<label class="xg-check">
<input type="checkbox">Native<span class="xg-check__hint">Needs a native template</span>
</label>
<label class="xg-check">
<input type="checkbox" disabled>Audio (not on your plan)</label>
</fieldset>Radio
BetaRules and markup
One choice out of two to six, all visible at once. Rule: Always one option selected by default when a safe default exists.
| State | Radio |
|---|---|
| Unselected | |
| Selected | |
| Disabled | |
| Disabled selected |
Markup
<fieldset class="xg-fieldset">
<legend class="xg-label">Pacing</legend>
<label class="xg-check">
<input type="radio" name="pace" checked>
<span>Even<span class="xg-check__hint">Spread the budget across the day</span>
</span>
</label>
<label class="xg-check">
<input type="radio" name="pace">
<span>As fast as possible<span class="xg-check__hint">Spend as soon as traffic allows</span>
</span>
</label>
<label class="xg-check">
<input type="radio" name="pace" disabled>Front-loaded (soon)</label>
</fieldset>Switch
BetaRules and markup
A setting that takes effect the moment it is flipped. Rule: The label names the setting, not the state (“Bid shading”, not “On”).
| State | Switch |
|---|---|
| Off | |
| On | |
| Disabled off | |
| Disabled on |
Markup
<div class="xg-stack" style="gap:12px">
<label class="xg-switch">
<input type="checkbox" role="switch" checked>Bid shading</label>
<label class="xg-switch">
<input type="checkbox" role="switch">Auto-pause on fraud share above 2%</label>
<label class="xg-switch">
<input type="checkbox" role="switch" disabled>Floor optimization (on request)</label>
</div>Segmented control
BetaRules and markup
Two to five short, mutually exclusive views or modes, side by side. Rule: Labels are one or two words. Same width is not required.
| State | Segmented |
|---|---|
| First selected | |
| Middle selected |
Markup
<div class="xg-segmented" role="radiogroup" aria-label="Granularity">
<label>
<input type="radio" name="gran" checked>
<span>Day</span>
</label>
<label>
<input type="radio" name="gran">
<span>Week</span>
</label>
<label>
<input type="radio" name="gran">
<span>Month</span>
</label>
</div>Search field
BetaRules and markup
Filters the current list as the user types, or searches everything from the topbar. Rule: Placeholder names what is searched: “Search campaigns”.
| State | Search |
|---|---|
| Empty | |
| Hover | |
| Focus | |
| Filled |
Markup
<div class="xg-input-group" style="max-width:320px">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="11" cy="11" r="7"/>
<path d="m20 20-3.5-3.5"/>
</svg>
<input class="xg-input" type="search" placeholder="Search campaigns" aria-label="Search campaigns">
<span class="xg-input-group__affix">
<kbd class="xg-kbd">/</kbd>
</span>
</div>Date-range picker
BetaRules and markup
The reporting period: presets first, two months of calendar, apply or cancel. Rule: Presets cover nine requests out of ten: Today, Yesterday, Last 7 / 30 / 90 days, This month, Last month.
| State | Day | |
|---|---|---|
| Default | ||
| Today | ||
| In range | ||
| Start | ||
| End | ||
| Future (disabled) |
Markup
<div class="xg-daterange" data-xg-daterange data-today="2026-11-30" data-start="2026-11-01" data-end="2026-11-30">
<button class="xg-btn xg-btn--secondary xg-daterange__trigger" type="button" aria-haspopup="dialog" aria-expanded="false">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<rect x="3" y="4.5" width="18" height="16.5" rx="2.5"/>
<path d="M3 9.5h18"/>
<path d="M8 3v3"/>
<path d="M16 3v3"/>
</svg>
<span data-xg-label>Nov 1, 2026 – Nov 30, 2026</span>
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="m6 9 6 6 6-6"/>
</svg>
</button>
<div class="xg-daterange__panel" role="dialog" aria-label="Choose a date range" hidden>
<div class="xg-daterange__presets" role="group" aria-label="Presets">
<button type="button" data-preset="today" data-days="1" aria-pressed="false">Today</button>
<button type="button" data-preset="yesterday" data-days="1" aria-pressed="false">Yesterday</button>
<button type="button" data-days="7" aria-pressed="false">Last 7 days</button>
<button type="button" data-days="30" aria-pressed="false">Last 30 days</button>
<button type="button" data-preset="month" aria-pressed="true">This month</button>
<button type="button" data-preset="last-month" aria-pressed="false">Last month</button>
<button type="button" data-days="90" aria-pressed="false">Last 90 days</button>
</div>
<div class="xg-daterange__main">
<div class="xg-row">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" data-xg-prev aria-label="Previous month">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M19 12H5"/>
<path d="m11 6-6 6 6 6"/>
</svg>
</button>
<span class="xg-spacer">
</span>
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" data-xg-next aria-label="Next month">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M5 12h14"/>
<path d="m13 6 6 6-6 6"/>
</svg>
</button>
</div>
<div class="xg-daterange__months">
</div>
<div class="xg-daterange__foot">
<output aria-live="polite">
</output>
<span class="xg-text-sm">UTC</span>
<button class="xg-btn xg-btn--secondary xg-btn--sm" type="button" data-xg-cancel>Cancel</button>
<button class="xg-btn xg-btn--sm" type="button" data-xg-apply>Apply</button>
</div>
</div>
</div>
</div>Markup
<div class="xg-daterange xg-daterange--static" data-xg-daterange data-today="2026-11-30" data-start="2026-11-01" data-end="2026-11-30">
<div class="xg-daterange__panel" role="dialog" aria-label="Choose a date range">
<div class="xg-daterange__presets" role="group" aria-label="Presets">
<button type="button" data-preset="today" data-days="1" aria-pressed="false">Today</button>
<button type="button" data-preset="yesterday" data-days="1" aria-pressed="false">Yesterday</button>
<button type="button" data-days="7" aria-pressed="false">Last 7 days</button>
<button type="button" data-days="30" aria-pressed="false">Last 30 days</button>
<button type="button" data-preset="month" aria-pressed="true">This month</button>
<button type="button" data-preset="last-month" aria-pressed="false">Last month</button>
<button type="button" data-days="90" aria-pressed="false">Last 90 days</button>
</div>
<div class="xg-daterange__main">
<div class="xg-row">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" data-xg-prev aria-label="Previous month">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M19 12H5"/>
<path d="m11 6-6 6 6 6"/>
</svg>
</button>
<span class="xg-spacer">
</span>
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" data-xg-next aria-label="Next month">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M5 12h14"/>
<path d="m13 6 6 6-6 6"/>
</svg>
</button>
</div>
<div class="xg-daterange__months">
</div>
<div class="xg-daterange__foot">
<output aria-live="polite">
</output>
<span class="xg-text-sm">UTC</span>
<button class="xg-btn xg-btn--secondary xg-btn--sm" type="button" data-xg-cancel>Cancel</button>
<button class="xg-btn xg-btn--sm" type="button" data-xg-apply>Apply</button>
</div>
</div>
</div>
</div>Form layout
BetaRules and markup
How fields, sections and actions sit together in a settings page or a dialog. Rule: One column by default; two columns only for short, related fields (City / Postal code).
Markup
<form class="xg-card" style="max-width:560px" onsubmit="return false">
<div class="xg-card__header">
<h3 class="xg-card__title">Payout settings</h3>
</div>
<div class="xg-stack">
<div class="xg-field">
<label class="xg-label" for="pay-name">Legal entity name</label>
<input class="xg-input" id="pay-name" value="Example Media Ltd">
</div>
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px">
<div class="xg-field">
<label class="xg-label" for="pay-cur">Currency</label>
<select class="xg-select" id="pay-cur">
<option>USD — US dollar</option>
<option>EUR — Euro</option>
</select>
</div>
<div class="xg-field">
<label class="xg-label" for="pay-min">Minimum payout</label>
<div class="xg-input-group">
<span class="xg-input-group__prefix">$</span>
<input class="xg-input" id="pay-min" value="2,500">
</div>
</div>
</div>
<label class="xg-check">
<input type="checkbox" checked>Email me when a payout is sent</label>
</div>
<div class="xg-card__footer">
<button class="xg-btn xg-btn--secondary" type="button">Cancel</button>
<button class="xg-btn" type="submit">Save settings</button>
</div>
</form>Data display
Data table
BetaRules and markup
Sortable, selectable, paginated rows of objects with their numbers. Rule: Numbers are right-aligned, tabular, with the unit in the header (“Revenue, $”), never in every cell.
| Actions | ||||||
|---|---|---|---|---|---|---|
| App install Q4 | In review | 12,640 | 3.10 | 71.9 | ||
| Audio podcast pilot | Ended | 6,020 | 5.60 | 83.0 | ||
| Brand safety test | Blocked | 0 | 0.00 | 0.0 | ||
| CTV sports weekend | In review | 4,125 | 6.10 | 64.7 | ||
| Holiday promo — CTV | Live | 48,210 | 2.41 | 92.4 | ||
| In-app banner IN | Paused | 9,410 | 0.92 | 79.3 | ||
| Native feed APAC | Live | 18,310 | 1.42 | 90.6 | ||
| Prebid header test | Draft | 0 | 0.00 | 0.0 | ||
| Retargeting EU | Paused | 31,905 | 1.87 | 88.1 | ||
| Rewarded video LATAM | Live | 27,775 | 3.35 | 93.8 | ||
| Spring launch | Scheduled | 0 | 2.20 | 0.0 | ||
| Video outstream US | Live | 22,480 | 4.05 | 95.2 |
Markup
<div class="xg-card xg-card--flush" data-xg-table data-page-size="5">
<div class="xg-table-toolbar">
<div class="xg-input-group" style="flex:1 1 220px;max-width:300px">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="11" cy="11" r="7"/>
<path d="m20 20-3.5-3.5"/>
</svg>
<input class="xg-input xg-input--sm" type="search" placeholder="Search campaigns" aria-label="Search campaigns">
</div>
<span class="xg-spacer">
</span>
<button class="xg-btn xg-btn--secondary xg-btn--sm" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M3 5h18l-7 8.5V19l-4 2v-7.5L3 5Z"/>
</svg>Filters</button>
<button class="xg-btn xg-btn--secondary xg-btn--sm" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M12 4v11"/>
<path d="m7 10 5 5 5-5"/>
<path d="M4 20h16"/>
</svg>Export CSV</button>
</div>
<div class="xg-bulkbar" data-xg-bulk hidden>
<span data-xg-count>0 selected</span>
<button class="xg-btn xg-btn--ghost xg-btn--sm" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<rect x="6" y="5" width="4" height="14" rx="1"/>
<rect x="14" y="5" width="4" height="14" rx="1"/>
</svg>Pause</button>
<button class="xg-btn xg-btn--ghost xg-btn--sm" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<rect x="8" y="8" width="13" height="13" rx="2"/>
<path d="M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h3"/>
</svg>Duplicate</button>
</div>
<div style="overflow-x:auto">
<table class="xg-table" aria-describedby="campaigns-caption">
<caption id="campaigns-caption" class="xg-sr-only">Campaigns, last 30 days. Column headers with buttons sort the table.</caption>
<thead>
<tr>
<th class="is-check" scope="col">
<label class="xg-check">
<input type="checkbox" aria-label="Select all rows">
</label>
</th>
<th scope="col" aria-sort="ascending">
<button class="xg-sort" type="button" data-xg-sort="text">Campaign</button>
</th>
<th scope="col">
<button class="xg-sort" type="button" data-xg-sort="text">Status</button>
</th>
<th scope="col" class="is-num">
<button class="xg-sort" type="button" data-xg-sort="number">Revenue, $</button>
</th>
<th scope="col" class="is-num">
<button class="xg-sort" type="button" data-xg-sort="number">eCPM, $</button>
</th>
<th scope="col" class="is-num">
<button class="xg-sort" type="button" data-xg-sort="number">Fill rate, %</button>
</th>
<th scope="col">
<span class="xg-sr-only">Actions</span>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select App install Q4">
</label>
</td>
<td class="is-strong">App install Q4</td>
<td>
<span class="xg-badge xg-badge--warning">In review</span>
</td>
<td class="is-num">12,640</td>
<td class="is-num">3.10</td>
<td class="is-num">71.9</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for App install Q4">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select Audio podcast pilot">
</label>
</td>
<td class="is-strong">Audio podcast pilot</td>
<td>
<span class="xg-badge">Ended</span>
</td>
<td class="is-num">6,020</td>
<td class="is-num">5.60</td>
<td class="is-num">83.0</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Audio podcast pilot">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select Brand safety test">
</label>
</td>
<td class="is-strong">Brand safety test</td>
<td>
<span class="xg-badge xg-badge--error">Blocked</span>
</td>
<td class="is-num">0</td>
<td class="is-num">0.00</td>
<td class="is-num">0.0</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Brand safety test">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select CTV sports weekend">
</label>
</td>
<td class="is-strong">CTV sports weekend</td>
<td>
<span class="xg-badge xg-badge--warning">In review</span>
</td>
<td class="is-num">4,125</td>
<td class="is-num">6.10</td>
<td class="is-num">64.7</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for CTV sports weekend">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select Holiday promo — CTV">
</label>
</td>
<td class="is-strong">Holiday promo — CTV</td>
<td>
<span class="xg-badge xg-badge--success xg-badge--live">Live</span>
</td>
<td class="is-num">48,210</td>
<td class="is-num">2.41</td>
<td class="is-num">92.4</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Holiday promo — CTV">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select In-app banner IN">
</label>
</td>
<td class="is-strong">In-app banner IN</td>
<td>
<span class="xg-badge">Paused</span>
</td>
<td class="is-num">9,410</td>
<td class="is-num">0.92</td>
<td class="is-num">79.3</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for In-app banner IN">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select Native feed APAC">
</label>
</td>
<td class="is-strong">Native feed APAC</td>
<td>
<span class="xg-badge xg-badge--success xg-badge--live">Live</span>
</td>
<td class="is-num">18,310</td>
<td class="is-num">1.42</td>
<td class="is-num">90.6</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Native feed APAC">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select Prebid header test">
</label>
</td>
<td class="is-strong">Prebid header test</td>
<td>
<span class="xg-badge">Draft</span>
</td>
<td class="is-num">0</td>
<td class="is-num">0.00</td>
<td class="is-num">0.0</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Prebid header test">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select Retargeting EU">
</label>
</td>
<td class="is-strong">Retargeting EU</td>
<td>
<span class="xg-badge">Paused</span>
</td>
<td class="is-num">31,905</td>
<td class="is-num">1.87</td>
<td class="is-num">88.1</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Retargeting EU">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select Rewarded video LATAM">
</label>
</td>
<td class="is-strong">Rewarded video LATAM</td>
<td>
<span class="xg-badge xg-badge--success xg-badge--live">Live</span>
</td>
<td class="is-num">27,775</td>
<td class="is-num">3.35</td>
<td class="is-num">93.8</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Rewarded video LATAM">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select Spring launch">
</label>
</td>
<td class="is-strong">Spring launch</td>
<td>
<span class="xg-badge xg-badge--info">Scheduled</span>
</td>
<td class="is-num">0</td>
<td class="is-num">2.20</td>
<td class="is-num">0.0</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Spring launch">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-check">
<label class="xg-check">
<input type="checkbox" aria-label="Select Video outstream US">
</label>
</td>
<td class="is-strong">Video outstream US</td>
<td>
<span class="xg-badge xg-badge--success xg-badge--live">Live</span>
</td>
<td class="is-num">22,480</td>
<td class="is-num">4.05</td>
<td class="is-num">95.2</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Video outstream US">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
</tbody>
</table>
</div>
<div class="xg-table-footer">
<span data-xg-range aria-live="polite">
</span>
<span class="xg-sr-only" data-xg-live aria-live="polite">
</span>
<nav aria-label="Table pages">
<ul class="xg-pagination" data-xg-pager>
</ul>
</nav>
</div>
</div>| Actions | |||||
|---|---|---|---|---|---|
| App install Q4 | In review | 12,640 | 3.10 | 71.9 | |
| Audio podcast pilot | Ended | 6,020 | 5.60 | 83.0 | |
| Brand safety test | Blocked | 0 | 0.00 | 0.0 | |
| CTV sports weekend | In review | 4,125 | 6.10 | 64.7 | |
| Holiday promo — CTV | Live | 48,210 | 2.41 | 92.4 | |
| In-app banner IN | Paused | 9,410 | 0.92 | 79.3 | |
| Native feed APAC | Live | 18,310 | 1.42 | 90.6 | |
| Prebid header test | Draft | 0 | 0.00 | 0.0 | |
| Retargeting EU | Paused | 31,905 | 1.87 | 88.1 | |
| Rewarded video LATAM | Live | 27,775 | 3.35 | 93.8 | |
| Spring launch | Scheduled | 0 | 2.20 | 0.0 | |
| Video outstream US | Live | 22,480 | 4.05 | 95.2 |
Markup
<div class="xg-card xg-card--flush" data-xg-table data-page-size="4">
<div class="xg-table-toolbar">
<div class="xg-input-group" style="flex:1 1 220px;max-width:300px">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="11" cy="11" r="7"/>
<path d="m20 20-3.5-3.5"/>
</svg>
<input class="xg-input xg-input--sm" type="search" placeholder="Search campaigns" aria-label="Search campaigns">
</div>
<span class="xg-spacer">
</span>
<button class="xg-btn xg-btn--secondary xg-btn--sm" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M3 5h18l-7 8.5V19l-4 2v-7.5L3 5Z"/>
</svg>Filters</button>
<button class="xg-btn xg-btn--secondary xg-btn--sm" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M12 4v11"/>
<path d="m7 10 5 5 5-5"/>
<path d="M4 20h16"/>
</svg>Export CSV</button>
</div>
<div style="overflow-x:auto">
<table class="xg-table xg-table--compact" aria-describedby="compact-caption">
<caption id="compact-caption" class="xg-sr-only">Campaigns, last 30 days. Column headers with buttons sort the table.</caption>
<thead>
<tr>
<th scope="col" aria-sort="ascending">
<button class="xg-sort" type="button" data-xg-sort="text">Campaign</button>
</th>
<th scope="col">
<button class="xg-sort" type="button" data-xg-sort="text">Status</button>
</th>
<th scope="col" class="is-num">
<button class="xg-sort" type="button" data-xg-sort="number">Revenue, $</button>
</th>
<th scope="col" class="is-num">
<button class="xg-sort" type="button" data-xg-sort="number">eCPM, $</button>
</th>
<th scope="col" class="is-num">
<button class="xg-sort" type="button" data-xg-sort="number">Fill rate, %</button>
</th>
<th scope="col">
<span class="xg-sr-only">Actions</span>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="is-strong">App install Q4</td>
<td>
<span class="xg-badge xg-badge--warning">In review</span>
</td>
<td class="is-num">12,640</td>
<td class="is-num">3.10</td>
<td class="is-num">71.9</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for App install Q4">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-strong">Audio podcast pilot</td>
<td>
<span class="xg-badge">Ended</span>
</td>
<td class="is-num">6,020</td>
<td class="is-num">5.60</td>
<td class="is-num">83.0</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Audio podcast pilot">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-strong">Brand safety test</td>
<td>
<span class="xg-badge xg-badge--error">Blocked</span>
</td>
<td class="is-num">0</td>
<td class="is-num">0.00</td>
<td class="is-num">0.0</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Brand safety test">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-strong">CTV sports weekend</td>
<td>
<span class="xg-badge xg-badge--warning">In review</span>
</td>
<td class="is-num">4,125</td>
<td class="is-num">6.10</td>
<td class="is-num">64.7</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for CTV sports weekend">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-strong">Holiday promo — CTV</td>
<td>
<span class="xg-badge xg-badge--success xg-badge--live">Live</span>
</td>
<td class="is-num">48,210</td>
<td class="is-num">2.41</td>
<td class="is-num">92.4</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Holiday promo — CTV">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-strong">In-app banner IN</td>
<td>
<span class="xg-badge">Paused</span>
</td>
<td class="is-num">9,410</td>
<td class="is-num">0.92</td>
<td class="is-num">79.3</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for In-app banner IN">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-strong">Native feed APAC</td>
<td>
<span class="xg-badge xg-badge--success xg-badge--live">Live</span>
</td>
<td class="is-num">18,310</td>
<td class="is-num">1.42</td>
<td class="is-num">90.6</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Native feed APAC">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-strong">Prebid header test</td>
<td>
<span class="xg-badge">Draft</span>
</td>
<td class="is-num">0</td>
<td class="is-num">0.00</td>
<td class="is-num">0.0</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Prebid header test">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-strong">Retargeting EU</td>
<td>
<span class="xg-badge">Paused</span>
</td>
<td class="is-num">31,905</td>
<td class="is-num">1.87</td>
<td class="is-num">88.1</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Retargeting EU">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-strong">Rewarded video LATAM</td>
<td>
<span class="xg-badge xg-badge--success xg-badge--live">Live</span>
</td>
<td class="is-num">27,775</td>
<td class="is-num">3.35</td>
<td class="is-num">93.8</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Rewarded video LATAM">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-strong">Spring launch</td>
<td>
<span class="xg-badge xg-badge--info">Scheduled</span>
</td>
<td class="is-num">0</td>
<td class="is-num">2.20</td>
<td class="is-num">0.0</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Spring launch">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
<tr>
<td class="is-strong">Video outstream US</td>
<td>
<span class="xg-badge xg-badge--success xg-badge--live">Live</span>
</td>
<td class="is-num">22,480</td>
<td class="is-num">4.05</td>
<td class="is-num">95.2</td>
<td class="is-num">
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="More actions for Video outstream US">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="5" cy="12" r="1"/>
<circle cx="12" cy="12" r="1"/>
<circle cx="19" cy="12" r="1"/>
</svg>
</button>
</td>
</tr>
</tbody>
</table>
</div>
<div class="xg-table-footer">
<span data-xg-range aria-live="polite">
</span>
<span class="xg-sr-only" data-xg-live aria-live="polite">
</span>
<nav aria-label="Table pages">
<ul class="xg-pagination" data-xg-pager>
</ul>
</nav>
</div>
</div>Pagination
BetaRules and markup
Moves through pages of a table or list; collapses long ranges with an ellipsis. Rule: Previous and Next are always present and disabled at the ends.
| State | Page button |
|---|---|
| Default | |
| Hover | |
| Focus | |
| Current | |
| Disabled |
Markup
<nav aria-label="Pages">
<ul class="xg-pagination">
<li>
<button type="button" aria-label="Previous page">‹</button>
</li>
<li>
<button type="button">1</button>
</li>
<li>
<span class="is-gap" aria-hidden="true">…</span>
</li>
<li>
<button type="button">4</button>
</li>
<li>
<button type="button" aria-current="page">5</button>
</li>
<li>
<button type="button">6</button>
</li>
<li>
<span class="is-gap" aria-hidden="true">…</span>
</li>
<li>
<button type="button">50</button>
</li>
<li>
<button type="button" aria-label="Next page">›</button>
</li>
</ul>
</nav>KPI card
BetaRules and markup
One headline number, its change against the previous period, and a sparkline. Rule: The value uses the display font, tabular figures and a short unit: $150.2K, 92.4%, 1.8B.
| State | Up (good) | Down (bad) | Flat |
|---|---|---|---|
| Delta |
Revenue
$168.8K
|
Revenue
$131.7K
|
Revenue
$150.2K
|
Markup
<div class="xg-kpi-grid">
<div class="xg-card xg-kpi">
<span class="xg-kpi__label">Revenue</span>
<span class="xg-kpi__value">$150.2K</span>
<span class="xg-kpi__meta">
<span class="xg-delta xg-delta--up">+12.4%</span>vs previous 30 days</span>
<svg class="xg-kpi__spark" viewBox="0 0 120 36" preserveAspectRatio="none" aria-hidden="true">
<path class="area" d="M0.0 33.0 L13.3 26.3 L26.7 29.7 L40.0 21.3 L53.3 23.0 L66.7 14.7 L80.0 18.0 L93.3 9.7 L106.7 11.3 L120.0 3.0 L120 36 L0 36 Z"/>
<path class="line" d="M0.0 33.0 L13.3 26.3 L26.7 29.7 L40.0 21.3 L53.3 23.0 L66.7 14.7 L80.0 18.0 L93.3 9.7 L106.7 11.3 L120.0 3.0"/>
</svg>
</div>
<div class="xg-card xg-kpi">
<span class="xg-kpi__label">Fill rate</span>
<span class="xg-kpi__value">92.4%</span>
<span class="xg-kpi__meta">
<span class="xg-delta xg-delta--up">+3.1 pts</span>vs previous 30 days</span>
<svg class="xg-kpi__spark" viewBox="0 0 120 36" preserveAspectRatio="none" aria-hidden="true">
<path class="area" d="M0.0 33.0 L13.3 30.3 L26.7 31.6 L40.0 26.2 L53.3 22.1 L66.7 19.4 L80.0 15.3 L93.3 12.5 L106.7 8.5 L120.0 3.0 L120 36 L0 36 Z"/>
<path class="line" d="M0.0 33.0 L13.3 30.3 L26.7 31.6 L40.0 26.2 L53.3 22.1 L66.7 19.4 L80.0 15.3 L93.3 12.5 L106.7 8.5 L120.0 3.0"/>
</svg>
</div>
<div class="xg-card xg-kpi">
<span class="xg-kpi__label">eCPM</span>
<span class="xg-kpi__value">$2.41</span>
<span class="xg-kpi__meta">
<span class="xg-delta xg-delta--down">−0.4%</span>vs previous 30 days</span>
<svg class="xg-kpi__spark" viewBox="0 0 120 36" preserveAspectRatio="none" aria-hidden="true">
<path class="area" d="M0.0 8.0 L13.3 13.0 L26.7 3.0 L40.0 18.0 L53.3 23.0 L66.7 13.0 L80.0 28.0 L93.3 23.0 L106.7 33.0 L120.0 28.0 L120 36 L0 36 Z"/>
<path class="line" d="M0.0 8.0 L13.3 13.0 L26.7 3.0 L40.0 18.0 L53.3 23.0 L66.7 13.0 L80.0 28.0 L93.3 23.0 L106.7 33.0 L120.0 28.0"/>
</svg>
</div>
<div class="xg-card xg-kpi">
<span class="xg-kpi__label">Requests</span>
<span class="xg-kpi__value">1.82B</span>
<span class="xg-kpi__meta">
<span class="xg-delta xg-delta--flat">0.0%</span>vs previous 30 days</span>
<svg class="xg-kpi__spark" viewBox="0 0 120 36" preserveAspectRatio="none" aria-hidden="true">
<path class="area" d="M0.0 23.0 L13.3 3.0 L26.7 33.0 L40.0 13.0 L53.3 23.0 L66.7 3.0 L80.0 13.0 L93.3 23.0 L106.7 13.0 L120.0 13.0 L120 36 L0 36 Z"/>
<path class="line" d="M0.0 23.0 L13.3 3.0 L26.7 33.0 L40.0 13.0 L53.3 23.0 L66.7 3.0 L80.0 13.0 L93.3 23.0 L106.7 13.0 L120.0 13.0"/>
</svg>
</div>
</div>Status badge
BetaRules and markup
The state of a campaign, partner or payment, in one word and one color. Rule: The vocabulary is fixed. Live (success, pulsing) · Active (success) · Paused (neutral) · Draft (neutral) · Ended (neutral) · In review (warning) · Limited (warning) · Blocked (error) · Rejected (error) · Failed (error) · Scheduled (info) · Pending (info).
| State | Tinted | Solid |
|---|---|---|
| Live | Live | Live |
| Paused | Paused | Paused |
| In review | In review | In review |
| Blocked | Blocked | Blocked |
| Scheduled | Scheduled | Scheduled |
Markup
<div class="xg-row">
<span class="xg-badge xg-badge--success xg-badge--live">Live</span>
<span class="xg-badge xg-badge--success">Active</span>
<span class="xg-badge">Paused</span>
<span class="xg-badge">Draft</span>
<span class="xg-badge">Ended</span>
<span class="xg-badge xg-badge--warning">In review</span>
<span class="xg-badge xg-badge--warning">Limited</span>
<span class="xg-badge xg-badge--error">Blocked</span>
<span class="xg-badge xg-badge--error">Rejected</span>
<span class="xg-badge xg-badge--info">Scheduled</span>
<span class="xg-badge xg-badge--info">Pending</span>
</div>Markup
<div class="xg-row">
<span class="xg-badge xg-badge--solid xg-badge--success">Live</span>
<span class="xg-badge xg-badge--solid">Paused</span>
<span class="xg-badge xg-badge--solid xg-badge--warning">In review</span>
<span class="xg-badge xg-badge--solid xg-badge--error">Blocked</span>
<span class="xg-badge xg-badge--solid xg-badge--info">Scheduled</span>
</div>Tag
BetaRules and markup
A category or an applied filter, optionally removable. Rule: Removable tags show an × button; removing a filter updates the table at once.
| State | Tag |
|---|---|
| Removable | Country: US |
| Plain | CTV |
Markup
<div class="xg-chipbar">
<span class="xg-tag">Country: US<button type="button" aria-label="Remove filter: Country US">×</button>
</span>
<span class="xg-tag">Format: Video<button type="button" aria-label="Remove filter: Format Video">×</button>
</span>
<span class="xg-tag xg-tag--plain">CTV</span>
<button class="xg-btn xg-btn--ghost xg-btn--sm" type="button">Clear all</button>
</div>Avatar
BetaRules and markup
A person or a team, by initials or picture; partners by square logo tile. Rule: Two initials, uppercase. Partner logos go in the square variant and are never recolored.
| State | Round | Square |
|---|---|---|
| Small · 24 | AO | AO |
| Medium · 32 | AO | AO |
| Large · 44 | AO | AO |
Markup
<div class="xg-row">
<span class="xg-avatar xg-avatar--sm" role="img" aria-label="Ops team">OT</span>
<span class="xg-avatar" role="img" aria-label="Ad ops">AO</span>
<span class="xg-avatar xg-avatar--lg" role="img" aria-label="Finance">FI</span>
<span class="xg-avatar xg-avatar--square" role="img" aria-label="Partner">P1</span>
<span class="xg-avatar-stack">
<span class="xg-avatar" role="img" aria-label="Ad ops">AO</span>
<span class="xg-avatar" role="img" aria-label="Finance">FI</span>
<span class="xg-avatar" role="img" aria-label="Sales">SA</span>
</span>
</div>Progress
BetaRules and markup
How far along something is: budget spent, an upload, a goal. Rule: Always print the number next to the bar (“62% of $5,000”).
| State | Bar |
|---|---|
| Default · 40% | |
| Warning · 86% | |
| Error · 100% | |
| Success · 100% | |
| Indeterminate |
Markup
<div class="xg-stack" style="max-width:420px">
<div class="xg-field">
<div class="xg-row" style="justify-content:space-between">
<span class="xg-label">Daily budget</span>
<span class="xg-text-sm xg-text-muted xg-num">62% of $5,000</span>
</div>
<div class="xg-progress" role="progressbar" aria-label="Daily budget" aria-valuenow="62" aria-valuemin="0" aria-valuemax="100">
<span style="--value:62%">
</span>
</div>
</div>
<div class="xg-field">
<div class="xg-row" style="justify-content:space-between">
<span class="xg-label">Monthly quota</span>
<span class="xg-text-sm xg-text-muted xg-num">86% of $5,000</span>
</div>
<div class="xg-progress xg-progress--warning" role="progressbar" aria-label="Monthly quota" aria-valuenow="86" aria-valuemin="0" aria-valuemax="100">
<span style="--value:86%">
</span>
</div>
</div>
<div class="xg-field">
<div class="xg-row" style="justify-content:space-between">
<span class="xg-label">Test budget</span>
<span class="xg-text-sm xg-text-muted xg-num">100% of $5,000</span>
</div>
<div class="xg-progress xg-progress--error" role="progressbar" aria-label="Test budget" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
<span style="--value:100%">
</span>
</div>
</div>
<div class="xg-progress xg-progress--indeterminate" role="progressbar" aria-label="Importing">
<span>
</span>
</div>
</div>Chart
BetaRules and markup
Line, area, bar and donut charts styled from the chart tokens; any library, same look. Rule: Series 1 is always the brand color and the metric the chart is about.
- Revenue, $K
- Spend, $K
Markup
<div class="xg-card">
<figure class="xg-chart" style="margin:0">
<ul class="xg-legend">
<li>
<i class="s1 is-line">
</i>Revenue, $K</li>
<li>
<i class="s2 is-line">
</i>Spend, $K</li>
</ul>
<svg viewBox="0 0 600 220" role="img" aria-labelledby="chart-cmp-t" data-xg-chart>
<title id="chart-cmp-t">Revenue rose from $42K to $78K over November; spend rose from $30K to $48K.</title>
<g class="grid">
<line x1="40" x2="592" y1="196" y2="196"/>
<line x1="40" x2="592" y1="149" y2="149"/>
<line x1="40" x2="592" y1="102" y2="102"/>
<line x1="40" x2="592" y1="55" y2="55"/>
<line x1="40" x2="592" y1="8" y2="8"/>
</g>
<g class="axis">
<text x="32" y="200" text-anchor="end">0</text>
<text x="32" y="153" text-anchor="end">25</text>
<text x="32" y="106" text-anchor="end">50</text>
<text x="32" y="59" text-anchor="end">75</text>
<text x="32" y="12" text-anchor="end">100</text>
<text x="40" y="214" text-anchor="middle">Nov 1</text>
<text x="190.54545454545453" y="214" text-anchor="middle">Nov 10</text>
<text x="341.09090909090907" y="214" text-anchor="middle">Nov 19</text>
<text x="491.6363636363637" y="214" text-anchor="middle">Nov 28</text>
<text x="592" y="214" text-anchor="middle">Nov 30</text>
</g>
<path class="area" d="M40.0 117.0 L90.2 105.8 L140.4 111.4 L190.5 96.4 L240.7 87.0 L290.9 92.6 L341.1 77.6 L391.3 81.3 L441.5 68.2 L491.6 60.6 L541.8 64.4 L592.0 49.4 L592 196 L40 196 Z"/>
<path class="line series-2" d="M40.0 139.6 L90.2 137.7 L140.4 130.2 L190.5 132.1 L240.7 124.6 L290.9 118.9 L341.1 120.8 L391.3 113.3 L441.5 115.2 L491.6 107.6 L541.8 103.9 L592.0 105.8"/>
<path class="line series-1" d="M40.0 117.0 L90.2 105.8 L140.4 111.4 L190.5 96.4 L240.7 87.0 L290.9 92.6 L341.1 77.6 L391.3 81.3 L441.5 68.2 L491.6 60.6 L541.8 64.4 L592.0 49.4"/>
<circle class="dot series-1" cx="40" cy="117.04000000000002" r="3.5" data-tip="<strong>Day 1</strong>
<br>Revenue $42K · Spend $30K"/>
<circle class="dot series-1" cx="90.18181818181819" cy="105.76" r="3.5" data-tip="<strong>Day 4</strong>
<br>Revenue $48K · Spend $31K"/>
<circle class="dot series-1" cx="140.36363636363637" cy="111.4" r="3.5" data-tip="<strong>Day 7</strong>
<br>Revenue $45K · Spend $35K"/>
<circle class="dot series-1" cx="190.54545454545453" cy="96.36" r="3.5" data-tip="<strong>Day 10</strong>
<br>Revenue $53K · Spend $34K"/>
<circle class="dot series-1" cx="240.72727272727272" cy="86.96000000000001" r="3.5" data-tip="<strong>Day 13</strong>
<br>Revenue $58K · Spend $38K"/>
<circle class="dot series-1" cx="290.9090909090909" cy="92.6" r="3.5" data-tip="<strong>Day 16</strong>
<br>Revenue $55K · Spend $41K"/>
<circle class="dot series-1" cx="341.09090909090907" cy="77.56" r="3.5" data-tip="<strong>Day 19</strong>
<br>Revenue $63K · Spend $40K"/>
<circle class="dot series-1" cx="391.27272727272725" cy="81.32000000000001" r="3.5" data-tip="<strong>Day 22</strong>
<br>Revenue $61K · Spend $44K"/>
<circle class="dot series-1" cx="441.45454545454544" cy="68.16" r="3.5" data-tip="<strong>Day 25</strong>
<br>Revenue $68K · Spend $43K"/>
<circle class="dot series-1" cx="491.6363636363637" cy="60.64000000000001" r="3.5" data-tip="<strong>Day 28</strong>
<br>Revenue $72K · Spend $47K"/>
<circle class="dot series-1" cx="541.8181818181818" cy="64.4" r="3.5" data-tip="<strong>Day 31</strong>
<br>Revenue $70K · Spend $49K"/>
<circle class="dot series-1" cx="592" cy="49.35999999999999" r="3.5" data-tip="<strong>Day 34</strong>
<br>Revenue $78K · Spend $48K"/>
</svg>
</figure>
</div>Tooltip
BetaRules and markup
A short label for an icon button or a truncated value, on hover and focus. Rule: One line, no period, under about 80 characters.
| State | Tooltip |
|---|---|
| Hidden | Download as CSV |
| Shown (hover or focus) | Download as CSV |
Markup
<div class="xg-row" style="padding-top:36px">
<span class="xg-tooltip is-open">
<button class="xg-btn xg-btn--secondary xg-btn--icon" type="button" aria-label="Download report" aria-describedby="tt1">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M12 4v11"/>
<path d="m7 10 5 5 5-5"/>
<path d="M4 20h16"/>
</svg>
</button>
<span class="xg-tooltip__bubble" role="tooltip" id="tt1">Download as CSV</span>
</span>
<span class="xg-tooltip">
<button class="xg-btn xg-btn--ghost xg-btn--sm" type="button" aria-describedby="tt2">eCPM <svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="12" cy="12" r="9"/>
<path d="M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6"/>
<path d="M12 17h.01"/>
</svg>
</button>
<span class="xg-tooltip__bubble" role="tooltip" id="tt2">Revenue per 1,000 impressions</span>
</span>
</div>Empty state
BetaRules and markup
What a view shows when there is nothing in it yet, nothing matches, or it failed. Rule: Say what is missing and the next step: a title, one sentence, one primary action.

No campaigns yet
Create your first campaign to start buying traffic. It takes about five minutes.
Markup
<div class="xg-card">
<div class="xg-empty">
<img class="xg-empty__art" src="/brand/xendiz/illustrations/feature-analytics-transparent.png" alt="" width="160">
<h3 class="xg-empty__title">No campaigns yet</h3>
<p>Create your first campaign to start buying traffic. It takes about five minutes.</p>
<div class="xg-row">
<button class="xg-btn" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M12 5v14"/>
<path d="M5 12h14"/>
</svg>Create campaign</button>
<button class="xg-btn xg-btn--ghost" type="button">Read the guide</button>
</div>
</div>
</div>No campaigns match
Nothing matches “podcast” with the filters Country: US and Status: Live.
The report did not load
The reporting service did not answer in time. Your data is safe.
Markup
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px">
<div class="xg-card">
<div class="xg-empty">
<span class="xg-empty__icon">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="11" cy="11" r="7"/>
<path d="m20 20-3.5-3.5"/>
</svg>
</span>
<h3 class="xg-empty__title">No campaigns match</h3>
<p>Nothing matches “podcast” with the filters Country: US and Status: Live.</p>
<div class="xg-row">
<button class="xg-btn xg-btn--secondary" type="button">Clear filters</button>
</div>
</div>
</div>
<div class="xg-card">
<div class="xg-empty">
<span class="xg-empty__icon" style="background:var(--xg-color-status-error-tint);color:var(--xg-color-status-error-text)">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M12 3 2 20h20L12 3Z"/>
<path d="M12 10v4"/>
<path d="M12 17h.01"/>
</svg>
</span>
<h3 class="xg-empty__title">The report did not load</h3>
<p>The reporting service did not answer in time. Your data is safe.</p>
<div class="xg-row">
<button class="xg-btn" type="button">Try again</button>
</div>
</div>
</div>
</div>Skeleton
BetaRules and markup
The shape of content that is on its way, for loads over about 300 ms. Rule: Match the real layout: same rows, same card sizes, so nothing jumps.
| State | Shape |
|---|---|
| Line | |
| Title | |
| Avatar | |
| Block |
Markup
<div class="xg-card" aria-busy="true" aria-label="Loading revenue">
<div class="xg-stack" aria-hidden="true" style="gap:12px">
<span class="xg-skeleton xg-skeleton--title">
</span>
<span class="xg-skeleton" style="width:30%;height:32px">
</span>
<span class="xg-skeleton xg-skeleton--block">
</span>
<div class="xg-row">
<span class="xg-skeleton xg-skeleton--circle">
</span>
<span class="xg-skeleton" style="flex:1">
</span>
</div>
</div>
</div>Spinner
BetaRules and markup
An action of unknown length is running. Rule: Never alone on a blank page; say what is loading next to it.
| State | Spinner |
|---|---|
| Default · 20 | |
| Large · 32 | |
| In a button |
Markup
<div class="xg-row">
<span class="xg-spinner" aria-hidden="true">
</span>
<span class="xg-spinner xg-spinner--lg" aria-hidden="true">
</span>
<span role="status" class="xg-row xg-text-muted">
<span class="xg-spinner" aria-hidden="true">
</span>Refreshing report…</span>
<button class="xg-btn" type="button" aria-busy="true">
<span class="xg-spinner" aria-hidden="true">
</span>Launching</button>
</div>Navigation
BetaRules and markup
The admin panel’s main navigation: brand, sections, account, collapse. Rule: Order follows the daily job: Dashboard, Campaigns, Inventory, Demand partners, Reports, Request logs; then Account.
| State | Nav item |
|---|---|
| Default | |
| Hover | |
| Focus | |
| Current | |
| With count |
Markup
<div style="height:520px;display:flex;border:1px solid var(--xg-color-border-default);border-radius:var(--xg-radius-card);overflow:hidden;background:var(--xg-color-bg-page)">
<nav class="xg-sidebar" id="nav-cmp" aria-label="Main">
<div class="xg-sidebar__brand">
<img data-xg-logo="horizontal" src="/brand/xendiz/logo/xendiz-horizontal-on-light.svg" alt="Xendiz" height="26">
<img class="xg-brand-mark" data-xg-logo="mark" src="/brand/xendiz/logo/xendiz-mark-on-light.svg" alt="" height="28">
</div>
<a class="xg-nav-item" href="#" aria-current="page">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<rect x="3" y="3" width="7" height="9" rx="1.5"/>
<rect x="14" y="3" width="7" height="5" rx="1.5"/>
<rect x="14" y="12" width="7" height="9" rx="1.5"/>
<rect x="3" y="16" width="7" height="5" rx="1.5"/>
</svg>
<span>Dashboard</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M3 11v2a1 1 0 0 0 1 1h2l5 4V6L6 10H4a1 1 0 0 0-1 1Z"/>
<path d="M15.5 8.5a5 5 0 0 1 0 7"/>
<path d="M18.5 5.5a9 9 0 0 1 0 13"/>
</svg>
<span>Campaigns</span>
<span class="xg-count" aria-label="3 need review">3</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M3 7l9-4 9 4-9 4-9-4Z"/>
<path d="M3 12l9 4 9-4"/>
<path d="M3 17l9 4 9-4"/>
</svg>
<span>Inventory</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="9" cy="8" r="3.5"/>
<path d="M2.5 20a6.5 6.5 0 0 1 13 0"/>
<circle cx="17.5" cy="9" r="2.5"/>
<path d="M16 14.2a5 5 0 0 1 6 4.8"/>
</svg>
<span>Demand partners</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M4 20V10"/>
<path d="M10 20V4"/>
<path d="M16 20v-7"/>
<path d="M22 20H2"/>
</svg>
<span>Reports</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M8 6h13"/>
<path d="M8 12h13"/>
<path d="M8 18h13"/>
<path d="M3 6h.01"/>
<path d="M3 12h.01"/>
<path d="M3 18h.01"/>
</svg>
<span>Request logs</span>
</a>
<div class="xg-sidebar__section">Account</div>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M3 7.5A2.5 2.5 0 0 1 5.5 5H18a1 1 0 0 1 1 1v2"/>
<rect x="3" y="7.5" width="18" height="12.5" rx="2.5"/>
<path d="M16.5 14h.01"/>
</svg>
<span>Billing</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="12" cy="12" r="3"/>
<path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z"/>
</svg>
<span>Settings</span>
</a>
<div class="xg-sidebar__footer">
<button class="xg-nav-item" type="button" data-xg-collapse="nav-cmp" aria-expanded="true" aria-label="Collapse navigation" style="border:0;background:none;cursor:pointer;width:100%">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<rect x="3" y="4" width="18" height="16" rx="2.5"/>
<path d="M9 4v16"/>
</svg>
<span>Collapse</span>
</button>
</div>
</nav>
</div>Topbar
BetaRules and markup
Page title, global search, notifications and the account, on frosted glass. Rule: Glass (glass-strong + header blur) so content scrolls under it; solid when transparency is reduced.
Markup
<div style="border:1px solid var(--xg-color-border-default);border-radius:var(--xg-radius-card);overflow:hidden">
<header class="xg-topbar">
<h2 class="xg-topbar__title">Campaigns</h2>
<span class="xg-spacer">
</span>
<div class="xg-input-group">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="11" cy="11" r="7"/>
<path d="m20 20-3.5-3.5"/>
</svg>
<input class="xg-input xg-input--sm" type="search" placeholder="Search" aria-label="Search everything">
<span class="xg-input-group__affix">
<kbd class="xg-kbd">/</kbd>
</span>
</div>
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-notify" type="button" aria-label="Notifications, 2 unread">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M6 8a6 6 0 1 1 12 0c0 7 3 9 3 9H3s3-2 3-9"/>
<path d="M10.3 21a1.9 1.9 0 0 0 3.4 0"/>
</svg>
</button>
<span class="xg-avatar" aria-label="Account: Ops team" role="img">OT</span>
</header>
</div>Tabs
BetaRules and markup
Switches between views of one object without leaving the page. Rule: Two to seven tabs, one or two words each.
| State | Tab |
|---|---|
| Default | |
| Hover | |
| Focus | |
| Selected | |
| With count | |
| Disabled |
Live since Nov 3 in 4 markets. Daily budget $5,000, even pacing.
US, DE, UK · Desktop and CTV · Video only.
12 creatives, 2 in review.
Raw request and response logs, last 24 hours.
Markup
<div data-xg-tabs>
<div class="xg-tabs__list" role="tablist" aria-label="Campaign">
<button class="xg-tab" role="tab" id="t-ov" aria-controls="p-ov" aria-selected="true">Overview</button>
<button class="xg-tab" role="tab" id="t-tg" aria-controls="p-tg" aria-selected="false">Targeting</button>
<button class="xg-tab" role="tab" id="t-cr" aria-controls="p-cr" aria-selected="false">Creatives <span class="xg-count">12</span>
</button>
<button class="xg-tab" role="tab" id="t-lg" aria-controls="p-lg" aria-selected="false">Request logs</button>
<button class="xg-tab" role="tab" id="t-ex" aria-controls="p-ex" aria-selected="false" aria-disabled="true">Experiments</button>
</div>
<div class="xg-tabs__panel" role="tabpanel" id="p-ov" aria-labelledby="t-ov">
<p style="margin:0">Live since Nov 3 in 4 markets. Daily budget $5,000, even pacing.</p>
</div>
<div class="xg-tabs__panel" role="tabpanel" id="p-tg" aria-labelledby="t-tg" hidden>
<p style="margin:0">US, DE, UK · Desktop and CTV · Video only.</p>
</div>
<div class="xg-tabs__panel" role="tabpanel" id="p-cr" aria-labelledby="t-cr" hidden>
<p style="margin:0">12 creatives, 2 in review.</p>
</div>
<div class="xg-tabs__panel" role="tabpanel" id="p-lg" aria-labelledby="t-lg" hidden>
<p style="margin:0">Raw request and response logs, last 24 hours.</p>
</div>
<div class="xg-tabs__panel" role="tabpanel" id="p-ex" aria-labelledby="t-ex" hidden>
</div>
</div>BetaRules and markup
Where a detail page sits, with a way back up. Rule: The last item is the current page and is not a link.
Markup
<nav class="xg-breadcrumb" aria-label="Breadcrumb">
<ol>
<li>
<a href="#">Campaigns</a>
</li>
<li>
<a href="#">Holiday promo — CTV</a>
</li>
<li>
<span aria-current="page">Creative 4</span>
</li>
</ol>
</nav>Wizard steps
BetaRules and markup
Where the user is in a multi-step flow, and what is done. Rule: Step names are nouns: Details, Budget, Targeting, Creatives, Review.
| State | Step |
|---|---|
| To do |
|
| Current |
|
| Done |
|
| Error |
|
- Details
- Budget
- Targeting
- Review
- Budget
- $500 / day
- Devices
- Desktop, Mobile
Markup
<div class="xg-card" data-xg-wizard data-done="Campaign launched">
<ol class="xg-stepper" aria-label="New campaign">
<li class="xg-step">
<span>Details</span>
</li>
<li class="xg-step">
<span>Budget</span>
</li>
<li class="xg-step">
<span>Targeting</span>
</li>
<li class="xg-step">
<span>Review</span>
</li>
</ol>
<div style="padding-top:20px">
<div data-step class="xg-stack">
<div class="xg-field">
<label class="xg-label" for="wz-name">Campaign name</label>
<input class="xg-input" id="wz-name" required placeholder="e.g. Spring launch">
</div>
</div>
<div data-step class="xg-stack" hidden>
<div class="xg-field">
<label class="xg-label" for="wz-budget">Daily budget</label>
<div class="xg-input-group">
<span class="xg-input-group__prefix">$</span>
<input class="xg-input" id="wz-budget" required value="500">
</div>
</div>
</div>
<div data-step class="xg-stack" hidden>
<fieldset class="xg-fieldset">
<legend class="xg-label">Devices</legend>
<label class="xg-check">
<input type="checkbox" checked>Desktop</label>
<label class="xg-check">
<input type="checkbox" checked>Mobile</label>
<label class="xg-check">
<input type="checkbox">CTV</label>
</fieldset>
</div>
<div data-step hidden>
<dl class="xg-dl">
<dt>Budget</dt>
<dd>$500 / day</dd>
<dt>Devices</dt>
<dd>Desktop, Mobile</dd>
</dl>
</div>
</div>
<div class="xg-card__footer">
<button class="xg-btn xg-btn--secondary" type="button" data-xg-wizard-back>Back</button>
<button class="xg-btn" type="button" data-xg-wizard-next data-finish="Launch campaign">Continue</button>
</div>
</div>- Details
- Budget
- Targeting
- Review
Markup
<ol class="xg-stepper" aria-label="Example">
<li class="xg-step is-done">
<span>Details</span>
</li>
<li class="xg-step is-error">
<span>Budget</span>
</li>
<li class="xg-step" aria-current="step">
<span>Targeting</span>
</li>
<li class="xg-step">
<span>Review</span>
</li>
</ol>BetaRules and markup
A short list of actions behind a button: row actions, “more”, the account menu. Rule: Destructive items last, after a separator, in danger color, and confirmed.
| State | Menu item |
|---|---|
| Default | |
| Hover / focus | |
| Danger | |
| Disabled |
Markup
<div class="xg-dropdown" data-xg-dropdown>
<button class="xg-btn xg-btn--secondary" type="button" aria-haspopup="menu" aria-expanded="false">Actions <svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="m6 9 6 6 6-6"/>
</svg>
</button>
<ul class="xg-menu" role="menu" hidden>
<li role="none">
<button class="xg-menu__item" role="menuitem" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M4 20h4L19 9a2.8 2.8 0 0 0-4-4L4 16v4Z"/>
<path d="m13.5 6.5 4 4"/>
</svg>Edit <kbd class="xg-kbd">E</kbd>
</button>
</li>
<li role="none">
<button class="xg-menu__item" role="menuitem" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<rect x="8" y="8" width="13" height="13" rx="2"/>
<path d="M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h3"/>
</svg>Duplicate</button>
</li>
<li role="none">
<button class="xg-menu__item" role="menuitem" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<rect x="6" y="5" width="4" height="14" rx="1"/>
<rect x="14" y="5" width="4" height="14" rx="1"/>
</svg>Pause</button>
</li>
<li role="separator" class="xg-menu__sep">
</li>
<li role="none">
<button class="xg-menu__item xg-menu__item--danger" role="menuitem" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M4 7h16"/>
<path d="M10 11v6"/>
<path d="M14 11v6"/>
<path d="M6 7l1 13h10l1-13"/>
<path d="M9 7V4h6v3"/>
</svg>Delete</button>
</li>
</ul>
</div>Markup
<ul class="xg-menu" role="menu" aria-label="Example" style="max-width:240px">
<li class="xg-menu__label" role="presentation">Campaign</li>
<li role="none">
<button class="xg-menu__item is-hover" role="menuitem" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M4 20h4L19 9a2.8 2.8 0 0 0-4-4L4 16v4Z"/>
<path d="m13.5 6.5 4 4"/>
</svg>Edit</button>
</li>
<li role="none">
<button class="xg-menu__item" role="menuitem" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<rect x="8" y="8" width="13" height="13" rx="2"/>
<path d="M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h3"/>
</svg>Duplicate</button>
</li>
<li role="none">
<button class="xg-menu__item" role="menuitem" type="button" aria-disabled="true">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M7 4.5v15l12-7.5-12-7.5Z"/>
</svg>Resume</button>
</li>
<li role="separator" class="xg-menu__sep">
</li>
<li role="none">
<button class="xg-menu__item xg-menu__item--danger" role="menuitem" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M4 7h16"/>
<path d="M10 11v6"/>
<path d="M14 11v6"/>
<path d="M6 7l1 13h10l1-13"/>
<path d="M9 7V4h6v3"/>
</svg>Delete</button>
</li>
</ul>Feedback and overlays
Modal
BetaRules and markup
A focused task on top of the page: a short form or a decision. Rule: Title is the task (“Set a revenue goal”); the primary button repeats its verb (“Set goal”).
Markup
<button class="xg-btn" type="button" data-xg-open="dlg-goal">Set a revenue goal</button>
<dialog class="xg-modal" id="dlg-goal" aria-labelledby="dlg-goal-t">
<form method="dialog" style="display:contents">
<div class="xg-modal__header">
<h2 class="xg-modal__title" id="dlg-goal-t">Set a revenue goal</h2>
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" data-xg-close aria-label="Close">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M18 6 6 18"/>
<path d="m6 6 12 12"/>
</svg>
</button>
</div>
<div class="xg-modal__body">
<p>We pace your demand partners against this target.</p>
<div class="xg-field">
<label class="xg-label" for="goal-amt">Target</label>
<div class="xg-input-group">
<span class="xg-input-group__prefix">$</span>
<input class="xg-input" id="goal-amt" value="250,000">
</div>
</div>
<div class="xg-field">
<label class="xg-label" for="goal-by">By</label>
<select class="xg-select" id="goal-by">
<option>End of quarter</option>
<option>End of month</option>
</select>
</div>
</div>
<div class="xg-modal__footer">
<button class="xg-btn xg-btn--secondary" value="cancel" data-xg-close>Cancel</button>
<button class="xg-btn" value="ok">Set goal</button>
</div>
</form>
</dialog>Rename campaign
Markup
<div class="xg-modal xg-modal--static" role="dialog" aria-labelledby="sm-t">
<div class="xg-modal__header">
<h2 class="xg-modal__title" id="sm-t">Rename campaign</h2>
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" type="button" aria-label="Close">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M18 6 6 18"/>
<path d="m6 6 12 12"/>
</svg>
</button>
</div>
<div class="xg-modal__body">
<div class="xg-field">
<label class="xg-label" for="rn">Name</label>
<input class="xg-input" id="rn" value="Holiday promo — CTV">
</div>
</div>
<div class="xg-modal__footer">
<button class="xg-btn xg-btn--secondary" type="button">Cancel</button>
<button class="xg-btn" type="button">Rename</button>
</div>
</div>Alert dialog
BetaRules and markup
Confirms a destructive or costly action, and says what will happen. Rule: Title is a question with the object: “Delete Holiday promo — CTV?”.
Markup
<button class="xg-btn xg-btn--danger" type="button" data-xg-open="dlg-del">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M4 7h16"/>
<path d="M10 11v6"/>
<path d="M14 11v6"/>
<path d="M6 7l1 13h10l1-13"/>
<path d="M9 7V4h6v3"/>
</svg>Delete campaign</button>
<dialog class="xg-modal xg-modal--sm" id="dlg-del" role="alertdialog" aria-labelledby="dlg-del-t" aria-describedby="dlg-del-d">
<form method="dialog" style="display:contents">
<div class="xg-modal__header">
<span class="xg-alert-dialog__icon" aria-hidden="true">!</span>
<h2 class="xg-modal__title" id="dlg-del-t">Delete Holiday promo — CTV?</h2>
</div>
<div class="xg-modal__body">
<p id="dlg-del-d">The campaign stops buying at once and its 12 creatives are removed. Reports keep its history.</p>
</div>
<div class="xg-modal__footer">
<button class="xg-btn xg-btn--secondary" value="cancel" autofocus>Cancel</button>
<button class="xg-btn xg-btn--danger" value="delete">Delete campaign</button>
</div>
</form>
</dialog>Block Partner 3?
Partner 3 stops receiving requests from all 4 of your placements. You can unblock it later.
Markup
<div class="xg-modal xg-modal--static xg-modal--sm" role="alertdialog" aria-labelledby="sad-t">
<div class="xg-modal__header">
<span class="xg-alert-dialog__icon" aria-hidden="true">!</span>
<h2 class="xg-modal__title" id="sad-t">Block Partner 3?</h2>
</div>
<div class="xg-modal__body">
<p>Partner 3 stops receiving requests from all 4 of your placements. You can unblock it later.</p>
</div>
<div class="xg-modal__footer">
<button class="xg-btn xg-btn--secondary" type="button">Cancel</button>
<button class="xg-btn xg-btn--danger" type="button">Block partner</button>
</div>
</div>Drawer
BetaRules and markup
A side panel for details or edits while the list stays in view. Rule: Opens from the right, 440 px wide, full height.
Markup
<button class="xg-btn xg-btn--secondary" type="button" data-xg-open="dlg-drawer">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M3 5h18l-7 8.5V19l-4 2v-7.5L3 5Z"/>
</svg>All filters</button>
<dialog class="xg-drawer" id="dlg-drawer" aria-labelledby="dlg-drawer-t">
<form method="dialog" style="display:contents">
<div class="xg-modal__header">
<h2 class="xg-modal__title" id="dlg-drawer-t">Filters</h2>
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-btn--sm" data-xg-close aria-label="Close">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M18 6 6 18"/>
<path d="m6 6 12 12"/>
</svg>
</button>
</div>
<div class="xg-modal__body">
<div class="xg-field">
<label class="xg-label" for="f-country">Country</label>
<select class="xg-select" id="f-country">
<option>All countries</option>
<option>United States</option>
<option>Germany</option>
</select>
</div>
<fieldset class="xg-fieldset">
<legend class="xg-label">Status</legend>
<label class="xg-check">
<input type="checkbox" checked>Live</label>
<label class="xg-check">
<input type="checkbox">Paused</label>
<label class="xg-check">
<input type="checkbox">In review</label>
</fieldset>
</div>
<div class="xg-modal__footer">
<button class="xg-btn xg-btn--ghost" value="reset">Reset</button>
<button class="xg-btn" value="apply">Show 128 results</button>
</div>
</form>
</dialog>Toast
BetaRules and markup
A short, temporary confirmation of something that just happened. Rule: Title in the past tense, under about 40 characters; optional one-line detail.
| State | Toast |
|---|---|
| Info | Report scheduled |
| Success | Campaign published |
| Warning | Fraud share above 2% |
| Error | Export failed |
Markup
<div class="xg-row">
<button class="xg-btn xg-btn--secondary" type="button" data-xg-toast='{"title":"Campaign published","text":"Live in 4 markets.","tone":"success","action":"View"}'>Success toast</button>
<button class="xg-btn xg-btn--secondary" type="button" data-xg-toast='{"title":"Fraud share above 2%","text":"Two publishers were paused automatically.","tone":"warning"}'>Warning toast</button>
<button class="xg-btn xg-btn--secondary" type="button" data-xg-toast='{"title":"Export failed","text":"The file was larger than 1 GB. Narrow the date range.","tone":"error","timeout":0}'>Error toast</button>
</div>Campaign published
Live in 4 markets.
Export failed
The file was larger than 1 GB.
Markup
<div class="xg-stack" style="gap:8px;align-items:flex-start">
<div class="xg-toast xg-toast--success" style="animation:none">
<span class="xg-toast__dot" aria-hidden="true">
</span>
<div class="xg-toast__body">
<p class="xg-toast__title">Campaign published</p>
<p>Live in 4 markets.</p>
</div>
</div>
<div class="xg-toast xg-toast--error" style="animation:none">
<span class="xg-toast__dot" aria-hidden="true">
</span>
<div class="xg-toast__body">
<p class="xg-toast__title">Export failed</p>
<p>The file was larger than 1 GB.</p>
<div class="xg-toast__action">
<button class="xg-btn xg-btn--ghost xg-btn--sm" type="button">Narrow the range</button>
</div>
</div>
</div>
</div>Alert
BetaRules and markup
A message that stays on the page until its cause is resolved. Rule: Title says the condition; the line says the fix, with a link or button.
| State | Alert |
|---|---|
| Info | Reports update every 15 minutes |
| Success | Partner connected |
| Warning | Limited by budget |
| Error | Payment declined |
Reports update every 15 minutes
Today’s numbers are an estimate until 06:00 UTC.
Demand partner connected
Partner 2 is receiving requests.
Limited by budget
This campaign spent its daily budget by 14:00 UTC. Raise the budget
Payment method declined
Update it by Dec 5 to keep campaigns running.
Markup
<div class="xg-stack" style="gap:12px">
<div class="xg-alert" role="status">
<span class="xg-alert__icon" aria-hidden="true">i</span>
<div class="xg-alert__body">
<p class="xg-alert__title">Reports update every 15 minutes</p>
<p>Today’s numbers are an estimate until 06:00 UTC.</p>
</div>
</div>
<div class="xg-alert xg-alert--success" role="status">
<span class="xg-alert__icon" aria-hidden="true">✓</span>
<div class="xg-alert__body">
<p class="xg-alert__title">Demand partner connected</p>
<p>Partner 2 is receiving requests.</p>
</div>
</div>
<div class="xg-alert xg-alert--warning" role="status">
<span class="xg-alert__icon" aria-hidden="true">!</span>
<div class="xg-alert__body">
<p class="xg-alert__title">Limited by budget</p>
<p>This campaign spent its daily budget by 14:00 UTC. <a class="xg-link" href="#">Raise the budget</a>
</p>
</div>
</div>
<div class="xg-alert xg-alert--error" role="alert">
<span class="xg-alert__icon" aria-hidden="true">!</span>
<div class="xg-alert__body">
<p class="xg-alert__title">Payment method declined</p>
<p>Update it by Dec 5 to keep campaigns running.</p>
</div>
<button class="xg-btn xg-btn--secondary xg-btn--sm" type="button">Update</button>
</div>
</div>Popover
BetaRules and markup
Rich, interactive content anchored to a trigger: a metric explained, a quick edit. Rule: Opens on click, closes on Escape and outside click.
Fill rate
Matched requests divided by all requests sent to demand partners, for the selected period.
How it is calculatedStatic render
Matched requests divided by all requests sent to demand partners.
Markup
<button class="xg-btn xg-btn--ghost xg-btn--sm" type="button" popovertarget="pop-fill">What is fill rate? <svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="12" cy="12" r="9"/>
<path d="M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6"/>
<path d="M12 17h.01"/>
</svg>
</button>
<div class="xg-popover" id="pop-fill" popover>
<h4 class="xg-h4" style="margin-bottom:6px">Fill rate</h4>
<p style="margin:0 0 8px" class="xg-text-sm">Matched requests divided by all requests sent to demand partners, for the selected period.</p>
<a class="xg-link xg-link--arrow xg-text-sm" href="#">How it is calculated</a>
</div>
<div class="xg-popover" style="margin-top:16px">
<h4 class="xg-h4" style="margin-bottom:6px">Static render</h4>
<p style="margin:0" class="xg-text-sm">Matched requests divided by all requests sent to demand partners.</p>
</div>Layout
Card and glass panel
BetaRules and markup
The container: solid cards for data, frosted glass for chrome and hero surfaces. Rule: Solid card for anything with numbers or forms; glass for navigation, toasts, and panels over the page gradient.
| State | Card |
|---|---|
| Solid | RevenueLast 30 days |
| Glass | RevenueLast 30 days |
| Interactive, hover | RevenueLast 30 days |
Solid card
Data, forms, tables.
Glass panel
Chrome and hero surfaces.
Interactive card
The whole card is the link.
Markup
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;padding:24px;border-radius:var(--xg-radius-panel);background:radial-gradient(60% 80% at 80% 0%,var(--xg-color-primary-soft),transparent),var(--xg-color-bg-page)">
<div class="xg-card">
<h3 class="xg-card__title">Solid card</h3>
<p class="xg-text-muted" style="margin:6px 0 0">Data, forms, tables.</p>
</div>
<div class="xg-card xg-glass">
<h3 class="xg-card__title">Glass panel</h3>
<p class="xg-text-muted" style="margin:6px 0 0">Chrome and hero surfaces.</p>
</div>
<a class="xg-card xg-card--interactive" href="#" style="text-decoration:none">
<h3 class="xg-card__title">Interactive card</h3>
<p class="xg-text-muted" style="margin:6px 0 0">The whole card is the link.</p>
</a>
</div>App shell
BetaRules and markup
Sidebar, topbar and the content area: the frame every admin screen sits in. Rule: Content max width none for tables; 1240 px for forms and settings.
Dashboard
Good morning
Here is how November is going.
Markup
<div class="xg-shell" style="min-height:420px;border-radius:var(--xg-radius-card);border:1px solid var(--xg-color-border-default)">
<nav class="xg-sidebar" id="nav-shell" aria-label="Main">
<div class="xg-sidebar__brand">
<img data-xg-logo="horizontal" src="/brand/xendiz/logo/xendiz-horizontal-on-light.svg" alt="Xendiz" height="26">
<img class="xg-brand-mark" data-xg-logo="mark" src="/brand/xendiz/logo/xendiz-mark-on-light.svg" alt="" height="28">
</div>
<a class="xg-nav-item" href="#" aria-current="page">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<rect x="3" y="3" width="7" height="9" rx="1.5"/>
<rect x="14" y="3" width="7" height="5" rx="1.5"/>
<rect x="14" y="12" width="7" height="9" rx="1.5"/>
<rect x="3" y="16" width="7" height="5" rx="1.5"/>
</svg>
<span>Dashboard</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M3 11v2a1 1 0 0 0 1 1h2l5 4V6L6 10H4a1 1 0 0 0-1 1Z"/>
<path d="M15.5 8.5a5 5 0 0 1 0 7"/>
<path d="M18.5 5.5a9 9 0 0 1 0 13"/>
</svg>
<span>Campaigns</span>
<span class="xg-count" aria-label="3 need review">3</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M3 7l9-4 9 4-9 4-9-4Z"/>
<path d="M3 12l9 4 9-4"/>
<path d="M3 17l9 4 9-4"/>
</svg>
<span>Inventory</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="9" cy="8" r="3.5"/>
<path d="M2.5 20a6.5 6.5 0 0 1 13 0"/>
<circle cx="17.5" cy="9" r="2.5"/>
<path d="M16 14.2a5 5 0 0 1 6 4.8"/>
</svg>
<span>Demand partners</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M4 20V10"/>
<path d="M10 20V4"/>
<path d="M16 20v-7"/>
<path d="M22 20H2"/>
</svg>
<span>Reports</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M8 6h13"/>
<path d="M8 12h13"/>
<path d="M8 18h13"/>
<path d="M3 6h.01"/>
<path d="M3 12h.01"/>
<path d="M3 18h.01"/>
</svg>
<span>Request logs</span>
</a>
<div class="xg-sidebar__section">Account</div>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M3 7.5A2.5 2.5 0 0 1 5.5 5H18a1 1 0 0 1 1 1v2"/>
<rect x="3" y="7.5" width="18" height="12.5" rx="2.5"/>
<path d="M16.5 14h.01"/>
</svg>
<span>Billing</span>
</a>
<a class="xg-nav-item" href="#">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="12" cy="12" r="3"/>
<path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z"/>
</svg>
<span>Settings</span>
</a>
<div class="xg-sidebar__footer">
<button class="xg-nav-item" type="button" data-xg-collapse="nav-shell" aria-expanded="true" aria-label="Collapse navigation" style="border:0;background:none;cursor:pointer;width:100%">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<rect x="3" y="4" width="18" height="16" rx="2.5"/>
<path d="M9 4v16"/>
</svg>
<span>Collapse</span>
</button>
</div>
</nav>
<div class="xg-shell__main">
<header class="xg-topbar">
<h2 class="xg-topbar__title">Dashboard</h2>
<span class="xg-spacer">
</span>
<div class="xg-input-group">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="11" cy="11" r="7"/>
<path d="m20 20-3.5-3.5"/>
</svg>
<input class="xg-input xg-input--sm" type="search" placeholder="Search" aria-label="Search everything">
<span class="xg-input-group__affix">
<kbd class="xg-kbd">/</kbd>
</span>
</div>
<button class="xg-btn xg-btn--ghost xg-btn--icon xg-notify" type="button" aria-label="Notifications, 2 unread">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M6 8a6 6 0 1 1 12 0c0 7 3 9 3 9H3s3-2 3-9"/>
<path d="M10.3 21a1.9 1.9 0 0 0 3.4 0"/>
</svg>
</button>
<span class="xg-avatar" aria-label="Account: Ops team" role="img">OT</span>
</header>
<main class="xg-shell__content">
<div class="xg-page-head">
<div>
<h1 class="xg-h2">Good morning</h1>
<p>Here is how November is going.</p>
</div>
<button class="xg-btn" type="button">
<svg class="xg-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M12 5v14"/>
<path d="M5 12h14"/>
</svg>New campaign</button>
</div>
<div class="xg-kpi-grid">
<div class="xg-card xg-kpi">
<span class="xg-kpi__label">Revenue</span>
<span class="xg-kpi__value">$150.2K</span>
<span class="xg-kpi__meta">
<span class="xg-delta xg-delta--up">+12.4%</span>vs Oct</span>
</div>
<div class="xg-card xg-kpi">
<span class="xg-kpi__label">Fill rate</span>
<span class="xg-kpi__value">92.4%</span>
<span class="xg-kpi__meta">
<span class="xg-delta xg-delta--up">+3.1 pts</span>vs Oct</span>
</div>
</div>
</main>
</div>
</div>