Skip to Content
NSUI

Facts

Read-only figures, as a detail column or a totals summary.

Use facts to show figures that people read but do not edit. variant="list" is a titled column for a detail panel. variant="totals" is a money summary with a large total. Numbers use the same format as the data grid, in one colour: the currency sign, digits and cents are not muted.

Items

items is a list of rows. Set it as a property, or as JSON in the attribute.

FieldMeaning
labelRow label. Text only.
valueThe figure. 0 shows as a muted 0 (or $0.00); null shows "—" for no value.
typenumber, currency, percent or text. Default: number for a number, else text.
noteSmall text after the label: "not yet fulfilled".
tipAn info button after the label with this text.
tonedanger colours the label and value red.
totaltotals only: the row shown large under the rule.

Side-by-side lists line up row by row only when they have the same number of rows. Set rule on the second and later lists for a divider.

Totals

  • The item with total: true shows large under a rule.
  • baseline is the saved total. When the total differs, an amber line shows the change: "+$1,240.60 since last save". Set delta-label to change the words.
  • Put a memo or any other line above the rows with slot="header".

Accessibility

The rows are a description list, so screen readers read each label with its value. The element is a group named by its heading, or "Totals". The change line reads "Changed: +$1,240.60 since last save".

API

Attributes

Prop

Type

Properties

Prop

Type

Slots

Prop

Type

CSS parts

Prop

Type

NSUI is a community project. It is not an official Oracle NetSuite product. NetSuite is a trademark of Oracle.

On this page