Skip to content

FactList

Stable

Short label and value pairs, such as Check-in: 3pm.

Also known as description list, key value list, definition list, properties

Install with npm install @tattva/ui (setup), or copy the code from the kit in Downloads.

Facts about a booking

Check-in
From 3pm
Check-out
By 11am
Plan
Free cancellation

Label on the left, value on the right.

When to use it

Gives the answer a light, scannable shape for the details people compare: times, plans, sizes, prices.

Made of: Label · Value · Row

Use it for

  • Three to eight short facts about one thing.
  • Details inside an answer, a card or a panel.
  • Facts that are still arriving, with placeholders.

Not for

Do and avoid

Check-in
From 3pm
Check-out
By 11am
Walk to metro
4 min
Do. Short labels and values, with units in the value.
About
The hotel offers check-in from 3pm and asks guests to leave by 11am; the metro is a short walk away.
Avoid. A sentence squeezed into one value is harder to scan than prose.

Do

  • Keep each value short.
  • Use the same labels in the same order across similar results.
  • Show placeholders while facts stream in.

Avoid

  • Do not use it for long paragraphs.
  • Do not put actions inside values.
  • Do not use it for a table people need to sort.

On a phone

  • Label and value stay on one line and the value wraps under itself when long.
  • Two columns become one on a phone.

Seen in products

  • OpenUI's library has EntityList and snippet items for short label and value details inside an answer.

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started