Skip to main content

Content display

Components for presenting text, media, and structured data.

Components

ComponentPurpose
CardSurface transaction details and summary breakdowns
BadgeLabel status, category, or count
Country flagShow a country's flag as a circular image
Scroll areaCustom scrollable container with styled scrollbar
Hover cardRich content preview on hover
TableDisplay structured data in rows and columns
ListUnordered list for structured content
DisclosureLegal, regulatory, and compliance text

Card

Used for transaction detail layouts — FROM/TO sections with person info and payment methods, plus summary breakdowns with fee, rate, and total.

  • Built with data-slot="form-card" pattern from the prototype
  • Uses CountryFlag for sender/recipient identity
  • Summary rows use tabular-nums for aligned numbers
Card

From

United States flag
Carlos Rivera
United States
PayPal
carlos@paypal.me

To

Canada flag
Devon Kim
Canada
Visa
....8293
SNC-2026-0847Completed
You received$1,200.00 CAD
Service fee (%)-$24.00
Rate0.74 USD
You received$864.71

Badge

Short label for status, category, or count.

  • Variants: default, secondary, outline, destructive
  • Used in transaction lists and status indicators
Badge variants
DefaultSecondaryOutlineFailed

Country flag

Circular country flag image, replacing traditional avatars. In Senco, user identity is tied to their country.

  • Renders PNG from /flags/{code}.png via Next.js Image
  • Sizes: 16px (inline), 20px (table rows), 28px (list items), 36px (cards)
  • Circular crop with rounded-full
Country flag
United States flag36px
Canada flag28px
Kenya flag20px
United Kingdom flag16px

Scroll area

Custom scrollable container with a styled, auto-hiding scrollbar.

  • Scrollbar fades in on hover/scroll, fades out when idle
  • Used for payment method lists and long content areas
Scroll area

Hover card

Rich content preview that appears on hover. Shows profile info with country flag, name, location.

  • More detailed than a Tooltip — supports structured content
  • Opens on hover with a short delay
  • Not touch-friendly — provide alternative access on mobile
Hover card

Table

Structured data in a scannable grid. Used for transaction history on larger screens.

  • Right-align numeric columns for scannability
  • Rows show recipient with country flag, amount, status badge, and date
Table
ContactAmountStatusDate
Kenya flagAdaeze Okafor
-250.00 USDCompletedApr 15
Ghana flagKwame Johnson
+1,200.00 GHSProcessingApr 14
United States flagCarlos Rivera
-800.00 USDFailedApr 13

List

Unordered list with primary-colored bullets.

  • Used for requirements, feature lists, and options
  • Bullet color uses --ds-primary for visual emphasis
List
  • Valid government-issued photo ID
  • Proof of residential address
  • Active bank account or mobile wallet

Disclosure

Legal, regulatory, and compliance text container.

  • Text at caption size (12px) in muted color
  • Variant-based icons: regulatory (ShieldCheck), crypto (AlertTriangle), biometric (Fingerprint)
  • Supports inline links and optional checkbox for acknowledgement
VariantIconUsage
defaultNoneGeneral informational disclosure
regulatoryShieldCheckLicensing, compliance, legal notices
cryptoAlertTriangleRisk warnings for crypto/volatile assets
biometricFingerprintBiometric data collection notices
Disclosure

Transfer processing times may vary depending on the recipient's bank and country.

Senco is licensed and regulated by the Financial Services Authority. Your funds are held in segregated accounts.

Cryptocurrency values are volatile. You may lose some or all of your investment. Past performance is not indicative of future results.

Design and accessibility

  • Cards must have a clear heading and purpose
  • Heading hierarchy is sequential (no skipping levels)
  • Icons never convey meaning without an accompanying text label
  • All text meets contrast requirements