SummaryItem UI component
Purpose
SummaryItem is a data display component. Title/meta/detail summary row. Use for search results and record summaries.
Inputs
| Field | Required | Type | Behavior |
|---|---|---|---|
title |
yes | string or Go value | Primary text. Empty or missing title fails validation. |
meta |
no | string or Go value | Secondary text. Omitted or missing value renders no meta line. |
detail |
no | string or Go value | Description. Omitted or missing value renders no detail text. |
badge |
no | string or Go value | Compact label. Omitted or missing value renders no badge. |
Boundary
All text is escaped.
Example
package notesui
var noteSummary = (
<SummaryItem
title="Evidence note"
meta="bus-ui"
detail="Needs review"
></SummaryItem>
)
Runtime Terms
Expression children document ordinary Go expressions inside markup bodies.