Data display
Summary card
label/value rows, optionally in a Card
function SummaryDemo() { const rows = [ { label: 'Date', value: 'Fri 3 Oct' }, { label: 'Time', value: '10:30 – 11:15' }, { label: 'Guests', value: '2' }, { label: 'Status', value: 'Confirmed', valueClassName: 'text-success' }, ]; return ( <View className="w-full gap-4"> <SummaryCard title="Booking summary" rows={rows} /> <KeyValueList rows={rows.slice(0, 2)} /> </View> );}API
<SummaryCard title? rows={[{label,value}]} /> · <KeyValueList rows />Get it
Already in every copy of the native kit:
import { KeyValueList, SummaryCard } from '@/components/kit/key-value-list';Details
- Exports
KeyValueList,SummaryCard- Installs with
- @halftone-native/card, @halftone-native/lib-utils, @halftone-native/text
- Also searched as
- key value, receipt, details, summary, confirmation
- Registry JSON
- /r/native/summary-card.json
<SummaryCard className="max-w-sm" title="Payment" rows={[ { label: 'To', value: 'Lumen Labs' }, { label: 'Amount', value: '£2,310.00' }, { label: 'Fee', value: 'Free', valueClassName: 'text-success' }, { label: 'Arrives', value: 'Today, by 6pm' }, ]}/>Usage
Confirmations, receipts, order details.
API
<SummaryCard title? rows={[{label,value}]} /> · <KeyValueList rows />Get it
Already in every copy of the web kit:
import { KeyValueList, SummaryCard } from '@/components/kit/key-value-list';Details
- Exports
KeyValueList,SummaryCard- Packages
- cn@^0.5.2
- Installs with
- card
- Also searched as
- key value, receipt, details list
- Registry JSON
- /r/web/summary-card.json
Agents: the whole registry is at /llms.txt.