Fact Sheet
The details of one record as label and value rows, with dates and money formatted, long notes that fold, copy buttons, files and inline editing.
pixikit.com/docs/app-ui/data/fact-sheet
Customize
Layout
Striped
Surface
Loading
Props
12| Name | Type | Default | Description |
|---|---|---|---|
title | string | None | The heading above the rows. |
description | string | None | A line under the title. |
items | FactItem[] | DEFAULT_ITEMS | The rows, in order. |
layout | "rows" | "columns" | "compact" | "rows" | `rows` puts the label left and the value right, `columns` a grid of stacked pairs, `compact` tight single lines. |
striped | boolean | false | Tints every other row. |
surface | "plain" | "card" | "plain" | `card` frames the sheet, `plain` leaves it open. |
locale | string | "en-US" | The language dates and numbers are written in, as for `Intl`. |
emptyText | string | None | Shown instead of the dash for a value that is not set. |
onChange | (id: string, value: string | number | Date | string[] | null) => void | None | Called with the new value when an editable row is saved. Turns inline editing on. |
onFileAction | (fileId: string) => void | None | Called with the file id when a file's button is pressed. |
loading | boolean | false | Shows placeholders while the record loads. |
className | string | None |