Skip to content
Totals with VAT, light
Light
Totals with VAT, dark
Dark

Every state

  • Totals with VAT, default, light
    Totals with VAT, default, dark

    default

  • Totals with VAT, hover, light
    Totals with VAT, hover, dark

    hover

  • Totals with VAT, focus, light
    Totals with VAT, focus, dark

    focus

  • Totals with VAT, open, light
    Totals with VAT, open, dark

    open

  • Totals with VAT, excl-prices, light
    Totals with VAT, excl-prices, dark

    excl-prices

  • Totals with VAT, reverse-charge, light
    Totals with VAT, reverse-charge, dark

    reverse-charge

  • Totals with VAT, gbp, light
    Totals with VAT, gbp, dark

    gbp

Props

PropTypeDefaultWhat it does
headingstring"Totals and VAT"Section heading.
lines{ label: string; amount: number; rate: number }[]–The order's lines, grouped per rate. Amounts in minor units.
pricesInclude"incl" | "excl""incl"Whether the line amounts include VAT (shop prices) or exclude it (trade prices).
taxNamestring"VAT"Name for the tax: VAT, BTW, MwSt., TVA.
rateNamesRecord<string, string>{ "21": "Standard", "9": "Reduced", "0": "Zero" }Names shown beside each rate.
reverseCharge{ vatId: string; note: string } | nullnullTrade sale with reverse charge: no VAT, one 0% row and the note with the customer's VAT ID. Null: VAT charged.
explainerstring | null"VAT is worked out once per rate…"How the VAT is worked out, behind a disclosure. Null hides it.
defaultOpenbooleanfalseStart with the explainer open.
currencystring"EUR"ISO 4217 code.
localestring"en-IE"Formats the amounts and rates.
classNamestring–Extra classes on the section.

More order summaries

All 8
order-summary-08 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans