Skip to content

InfoRow

Label-value pair row for displaying structured information like transaction details.

Open in Storybook

Interactive Demo

Transaction ID
TXN-123456
Status
Completed
Amount
500,000.00
Currency
Date
June 18, 2026

Usage

vue
<script setup>
import { InfoRow } from '@yellowcard/b2b-design-system';
</script>

<template>
  <InfoRow title="Transaction ID" text="TXN-123456" :canCopy="true" />
  <InfoRow title="Status" text="Completed" />
  <InfoRow title="Amount" text="500,000.00" />
</template>

API Reference

Props

PropTypeDefaultDescription
title*stringRow label
variant'text' | 'currency' | 'badge' | 'expiry''text'Display variant
textstringValue text
currencystringCurrency code (for currency variant)
subtitlestringSubtitle text below value
noWrapbooleanfalsePrevent text wrapping
canCopybooleanfalseShow copy-to-clipboard button
expiresInnumber0Expiry countdown in seconds