Skip to content

FXRateGrid

stable

Responsive grid layout for FX rate cards

import { FXRateGrid } from "@nodus/design-system/finance"
Loading demo…

Props

ratesrequired
Type FXRate[]Default

Array of FX rate data ({ base, quote, bid, ask, midRate?, change?, sparkData? })

columns
Type "auto" | 2 | 3 | 4Default

Grid columns: auto (responsive) or fixed count

precision
Type numberDefault 4

Rate precision

breakpoints
Type ThresholdBreakpointsDefault

Custom severity breakpoints

density
Type "default" | "compact"Default

Display density

locale
Type stringDefault

BCP 47 locale override

Metadatasemanticspace
MobileStacks / Scroll

Rate grid activates horizontal scroll on narrow viewports. Consider showing a subset of currencies on mobile.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?