vizpromptsFocus your dashboards — AI restyling prompts for BI
Back to kpis previews

KPIs restyling prompt specifications

12 styles · Tailwind / CSS and Tableau

Pair these component specifications with a theme’s exact styling.

Minimal Statement

Flat cards, uppercase labels, giant tabular numbers

Prompt specifications

Tailwind / CSS

Restyle the KPI (BAN) cards as "Minimal Statement" cards: - 3 equal cards in a row (stack on mobile), flat white surface, 1px light-grey border, 4–6px radius, no shadow. - Label: 11–12px UPPERCASE, letter-spacing 0.14em, muted grey. - Value: 36–40px semibold, tabular numerals, near-black, 12px below label. - Delta line beneath: "▲ 8.6% vs prior 6 mo" — arrow + % in the brand accent color, comparison text muted. - Subtle hover: lift 2px and soft shadow. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build "Minimal Statement" KPIs: 1. Three equal BAN cards in a row: text sheets (Tableau) or Card visuals (Power BI). 2. Label 9pt UPPERCASE with wide spacing, muted grey; value 28pt semibold. 3. Delta line below in 9pt: arrow and % in accent color via conditional formatting, "vs prior 6 mo" muted. 4. 1px light border, no shadow, small radius.

Preview & copy prompts

Sparkline Cards

Number + trend line + pill badge

Prompt specifications

Tailwind / CSS

Restyle the KPI cards as "Sparkline Cards": - Each card: label top-left, period-over-period pill badge top-right (rounded-full, tinted accent background). - Big value (30px semibold, tabular-nums) below. - Full-bleed sparkline area chart at the bottom edge of the card (64px tall), 2px accent stroke, 15% fill, no axes, no gridlines, no tooltip. - 12px radius, 1px border, overflow hidden so the sparkline touches the card edges. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build "Sparkline Cards": 1. Each KPI: BAN value plus a sparkline of the last 12 months. 2. Power BI: Card (new) visual or a KPI visual with trend axis on; Tableau: text sheet stacked over a small area chart with all axes hidden. 3. Sparkline: accent line 2px, 15% area fill, no gridlines or labels. 4. Put the delta in a rounded pill at top right.

Preview & copy prompts

Progress to Target

KPI with goal bar and attainment %

Prompt specifications

Tailwind / CSS

Restyle the KPI cards as "Progress to Target" cards: - Label, then big value (30px semibold tabular-nums). - Below: an 8px rounded progress track (muted background) with an accent fill showing actual ÷ target, animated width transitions. - Footer row: "NN% of goal" on the left, period delta on the right, both 12px muted. - Add a parameter/slider to adjust the target so stakeholders can test scenarios. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build "Progress to Target" KPIs: 1. Create a Target parameter (what-if parameter in Power BI) so users can adjust goals. 2. Show the value, then a bar of actual ÷ target (Tableau: bar with fixed axis 0–1; Power BI: Gauge or data bar). 3. Footer: "NN% of goal" left, delta right, 8pt muted. 4. Accent color fill, muted track.

Preview & copy prompts

Bar Chart KPI

Value with a monthly mini bar chart; hover a bar

Prompt specifications

Tailwind / CSS

Restyle the KPI cards as "Bar Chart KPI" cards: - Label, big value (24–30px semibold tabular-nums) and a small accent delta line. - Below: a 56px-tall mini column chart of the last 12 months, rounded bar tops (3px), no axes or gridlines. - All bars in the accent color at 30% opacity; the latest month (or the hovered month) at full opacity, with its month label shown under the chart. - 12px radius card, 1px border, 16px padding. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build "Bar Chart KPI" cards: 1. BAN value and delta at top. 2. Below, a tiny column chart of the last 12 months (no axes, no gridlines). 3. Color the latest month in full accent and the rest at 30% opacity (conditional format on Month = MAX(Month)). 4. Show the highlighted month name under the chart.

Preview & copy prompts

Donut KPI

Progress ring with % of goal in the center

Prompt specifications

Tailwind / CSS

Restyle the KPI cards as "Donut KPI" cards: - Centered layout: label on top, a 112px donut ring (72% inner radius, starts at 12 o'clock, clockwise) showing actual ÷ target. - Filled arc in the accent color, remainder in a muted track color, no stroke between slices. - Percent of goal in the ring center (18px semibold); the actual value and "of goal · ▲ delta" below. - In Tableau/Power BI: dual-axis pie or donut visual with a center label. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build "Donut KPI" cards: 1. Tableau: dual-axis pie with a smaller white circle on top; Power BI: Donut with two values (actual, remaining). 2. Filled slice accent, remainder muted, inner radius ~72%. 3. Put "% of goal" in the center label, the value and delta below. 4. Hide legend and tooltips for the remainder slice.

Preview & copy prompts

Period Comparison

Current vs prior period side by side with delta chip

Prompt specifications

Tailwind / CSS

Restyle the KPI cards as "Period Comparison" cards: - Label at top, then the current-period value (20–24px semibold) with a tiny UPPERCASE "Last 6 mo" caption above it. - A delta chip (rounded, tinted secondary background) aligned bottom-right of the value row. - Divider line, then a footer: "Prior 6 mo" in muted text followed by the prior value. - Equal-width cards in a row; stack on mobile. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build "Period Comparison" KPIs: 1. Calculate current-period (last 6 months) and prior-period values. 2. Card layout: current value large, delta chip right, prior value small below a divider. 3. Power BI: Card (new) with reference labels; Tableau: text sheet with two measures. 4. Delta chip colored by sign.

Preview & copy prompts

Icon Tiles

Circular icon badge beside a compact value

Prompt specifications

Tailwind / CSS

Restyle the KPI cards as "Icon Tiles": - Horizontal card: a 44px circular icon badge (tinted secondary background, accent-colored icon) on the left, text on the right. - Text stack: 12px muted label, 20px semibold tabular value, 11px accent delta. - 12px radius, 1px border, 16px padding; 3 per row, stack on mobile. - Icons: $ for sales, return arrow for return rate, % for margin. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build "Icon Tiles" KPIs in Tableau / Power BI: 1. For each KPI, place an icon image (SVG) inside a circle shape on the left of a card container. 2. Power BI: Card (new) visual with image enabled, or a Multi-row card next to an image. Tableau: horizontal container = image object + text sheet. 3. Label 9pt muted, value 18pt semibold, delta 8pt accent colored via conditional formatting. 4. Keep icon circle fill as a 15% tint of the accent color.

Preview & copy prompts

Gauge Meter

Half-circle speedometer with needle

Prompt specifications

Tailwind / CSS

Restyle the KPI cards as "Gauge Meter" cards: - A 180° semicircle gauge (9px stroke, round caps): muted track, accent arc filled to actual ÷ target. - A thin needle in the foreground color from the center pivot to the arc end; small pivot dot. - Value centered below (20px semibold tabular), "NN% of target" caption in muted 11px. - Centered card layout, 12px radius, 1px border. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build "Gauge Meter" KPIs: 1. Power BI: Gauge visual, min 0, max = target; fill = accent, track = muted; hide min/max labels; callout value on. 2. Tableau: half-donut using a dual-axis pie (hide the lower half with a transparent slice) or a polygon gauge; add the needle with a line mark. 3. Show value in 18pt below and "% of target" in 9pt muted. 4. One gauge per KPI, arranged in a row.

Preview & copy prompts

Bullet Chart KPI

Actual vs target vs acceptable range in one row

Prompt specifications

Tailwind / CSS

Restyle the KPIs as "Bullet Chart" rows (Stephen Few style): - One row per KPI: 96px label column, a 20px bullet chart, and the value right-aligned. - Bullet chart layers: muted full track, a slightly darker "acceptable" band (0–80% of target), a thinner accent bar for actual, and a 2px vertical foreground marker for target. - Small legend under the rows: actual / target / ok range. - All rows in one card, 12px gaps. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build "Bullet Chart" KPIs: 1. Tableau: Show Me → Bullet graph (actual on the bar, target as reference line, reference distribution bands at 80% / 100%). 2. Power BI: use the Bullet Chart custom visual (or a bar with a target line via error bars). 3. Bar = accent color, bands = muted greys, target = 2px dark line. 4. One row per measure, labels on the left, value on the right.

Preview & copy prompts

Composition Bar

Total with a stacked share-of-total bar

Prompt specifications

Tailwind / CSS

Restyle the headline KPI as a "Composition Bar" card: - Top row: label + large total value on the left; hover readout (segment name and value) on the right. - Below: a 16px fully rounded 100% stacked bar showing each category's share, using tints of the accent color (100%, 70%, 45%, 25%). - Hovering a segment dims the others to 40% opacity. - Legend chips under the bar with category name and % share. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build a "Composition Bar" KPI: 1. Large KPI value at top (card / BAN). 2. Under it, a single 100% stacked bar of Sales by Category, bar height ~14px, no axes, no gridlines. 3. Colors: tints of the accent (dark → light by size). 4. Tooltip shows category, sales and % of total; legend under the bar.

Preview & copy prompts

Ticker Strip

Compact horizontal KPI band with dividers

Prompt specifications

Tailwind / CSS

Restyle the KPIs as a "Ticker Strip": - A single full-width bar (8px radius, 1px border) split into equal cells by 1px vertical dividers. - Each cell: 10px UPPERCASE tracked muted label, then 18px semibold value with an 11px accent delta inline on the same baseline. - Include 4 metrics: Sales, Orders, Margin, Avg Order Value. Scroll horizontally on mobile. - Use as a slim header band above charts. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build a "Ticker Strip" KPI band: 1. Power BI: one Card (new) visual with 4 callouts in a single row, dividers on, compact padding; or a Multi-row card. 2. Tableau: horizontal container with 4 text sheets separated by 1px divider lines (blank objects). 3. Label 8pt UPPERCASE muted, value 14pt semibold, delta 8pt accent. 4. Place it directly under the dashboard title, full width, ~48px tall.

Preview & copy prompts

Hero Block

One dominant number with selectable supporting KPIs

Prompt specifications

Tailwind / CSS

Restyle the KPIs as a "Hero Block" layout: - Left (2/3 width): a solid brand-color panel, 16px radius, 32px padding, holding the primary KPI: small label at 80% opacity, 56–64px display-serif value, and a translucent pill with the delta. - Right (1/3): stacked compact cards for the other KPIs (label + 20px value). Clicking one promotes it into the hero panel; highlight the active card with an accent ring. - Text on the hero uses the brand's foreground color. Keep the underlying metric values, labels and calculations unchanged.

Tableau

Build the "Hero Block" layout: 1. Left 2/3: a large container filled with the accent color holding the primary KPI (white text, 40pt+). 2. Right 1/3: stacked small cards for the other KPIs. 3. Use a parameter / field parameter so clicking a small card swaps which KPI is shown in the hero. 4. Highlight the selected card with an accent border.

Preview & copy prompts

Stay in focus

New themes, chart styles and BI templates, straight to your inbox.

Optional signup. Your email and consent record are stored privately. Privacy Policy. Email confirmation will be required before marketing begins.