Examples
Negative
Positive
Both directions
Props
TrendPill
A filled pill stating a change, green for positive and red for negative (FigmaV2 Trend Pill).
Distinct from ChartCard’s trendChip, which is Figma’s V2 Trend: an unfilled arrow and label sitting beside a headline. Use this one where the change needs to hold its own against surrounding content rather than trail a number, such as inside a list row.
ReactNode
required
The change itself, already formatted (e.g. “$240 vs Jun”).
"negative" | "positive"
required
Drives the colour and the leading glyph.
string
default:"Decrease"
As
increaseLabel, for "negative".string
default:"Increase"
Announced before
label when trend is "positive". Overridable because the component cannot translate it.Exported types
Also exported from@fanvue/ui: TrendDirection, TrendPillProps.
Setup: Installation · Theming