Builtin component

KeyValue

Key-value pairs from a resource or inline data.

Props

PropTypeDefaultDescription
sourceDataSource—Resource binding
dataRecord<string, unknown>—Inline data (alternative to `source`)
titlestring—Heading text

Example

KeyValue({ source: config(), title: "Configuration" })
KeyValue({ data: { host: "localhost", port: 5432 }, title: "Connection" })