Λογότυπο Financial Ui Patterns

Financial Ui Patterns

Κοινότητα
rgourley
financial-ui-patterns

Use when building any UI that displays prices, P&L, holdings, orders, trades, charts, order books, watchlists, or streaming market data. Covers patterns from Kraken, Coinbase, TradingView, Bloomberg, Robinhood. Read before writing JSX for any financial surface.

Επισκόπηση

Εκδότηςrgourley
Αποθετήριοfinancial-ui-suite
Όνομα δεξιότηταςfinancial-ui-patterns
Αστέρια
7
Διακλαδώσεις
3
Συνοδευτικά αρχεία
17
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 17

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό rgourley. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Financial Ui Patterns στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/rgourley/financial-ui-suite/tree/main/skills/financial-ui-patterns
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rgourley/financial-ui-suite.git /tmp/financial-ui-suite
mkdir -p .claude/skills
cp -r /tmp/financial-ui-suite/skills/financial-ui-patterns .claude/skills/financial-ui-patterns
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Financial Ui Patterns σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Financial Ui Patterns μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Financial Ui Patterns δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Financial UI Patterns

Overview

Generic AI output for financial UIs fails in predictable ways: raw color values instead of design tokens, jittery non-tabular numbers, no decimal alignment, missing tick-flash on updates, hard-coded dark theme, broken Tailwind dynamic classes, no streaming/staleness states, no accessibility for color-blind users.

This skill codifies the patterns that production trading UIs (Kraken, Coinbase, TradingView, Bloomberg Terminal, Robinhood, Binance) actually ship.

Core principle: numbers must be legible, aligned, and trustworthy. Color is a signal, not decoration. Latency must be visible. Every digit shift is a failure.

When to Use

  • Tables with prices, P&L, holdings, positions, orders, fills, trades
  • Order books, depth charts, ladders
  • Watchlists, tickers, market overviews
  • Streaming/live data of any kind
  • Portfolio screens, transaction history
  • Charts with OHLC, candlesticks, sparklines
  • Any UI showing money, percentages, basis points, or quantities

Don't use for: marketing pages, blog posts, generic product UI without numbers.

Quick Reference

ConcernRule
Number renderingAlways tabular-nums. Never let digits reflow.
Number alignmentRight-align in tables. Decimal-align when precision varies.
Ticker/ID displayUse font-mono (JetBrains Mono, Roboto Mono, IBM Plex Mono).
ColorsSemantic tokens only (text-positive, text-negative). Never text-green-500.
ThemeLight + dark via CSS variables. Never hard-code surface colors.
Tick flash300-500ms tinted background on price update. CSS only, no JS animation.
P&L signAlways show + for positive returns. - is automatic on negatives.
Tailwind dynamicNEVER bg-${color}-500/10. Use static class maps.
Streaming stateShow connecting / live / stale / disconnected explicitly.
AccessibilityPair color with icon, position, or shape. Never color alone.
DecimalsCrypto: dynamic precision by price magnitude. Stocks: 2 dp. FX: 4-5 dp.
Large numbersCompact notation (1.2B, 847M) for caps/volume, not for prices/balances.
DensityDefault to compact. 32-40px row height in tables. 24-28px in order books.

Required Reading

FileWhen to load
references/typography-and-color.mdDesigning any financial surface from scratch
references/number-formatting.mdImplementing any price/quantity/percentage display
references/components.mdBuilding tables, order books, tickers, charts
references/streaming-and-state.mdLive data, WebSocket UIs, tick-flash, staleness
references/accessibility.mdAny production UI (always)
references/mobile-and-responsive.mdTargeting phones/tablets, responsive tables, bottom sheets, touch interactions
references/industry-patterns.mdWant specific references from Kraken/Coinbase/TradingView/Bloomberg
references/charts-and-candles.mdBuilding any chart (candles, OHLC, line, volume, indicators)
references/loading-and-skeletons.mdFirst-load and reconnect treatments for tables, order books, charts
references/empty-and-error-states.mdEmpty positions/orders, rejected orders, market closed, rate-limit copy
references/timestamps-and-timezones.mdTrade times, "as of" stamps, multi-TZ status bar, ms precision rules
references/virtualization.mdTables over 100 streaming rows, trades tape, sticky headers, row memoization
references/chart-interactions.mdCrosshair, zoom/pan, drawing tools, multi-pane stacks, number animations
references/order-entry-and-lifecycle.mdOrder forms, types (market/limit/stop/bracket/OCO), preview-then-submit, pending→filled states, time-and-sales
references/alerts-and-disclosures.mdPrice alerts, fill notifications, escalation rules, PDT/wash-sale/options/restricted-symbol disclosures
references/data-sources-and-freshness.mdReal-time/delayed/stale/frozen/disconnected chain, source chips (CBOE, NBBO), multi-account context
references/heatmaps-and-density-viz.mdSector heatmaps, options chain color scales, IV surfaces, correlation grids

Core Pattern: Numbers

The single most important fix vs. generic AI output:

tsx
// ❌ BAD: digits shift width on update, color is decorative, no sign on positive
<span className="text-green-500 font-medium">
  {value.toFixed(2)}%
</span>

// ✅ GOOD: tabular-nums locks width, semantic color, explicit sign, fixed width
<span
  className={`tabular-nums font-medium tracking-tight ${
    value >= 0 ? "text-positive" : "text-negative"
  }`}
  style={{ minWidth: 64, textAlign: "right" }}
>
  {value >= 0 ? "+" : ""}{value.toFixed(2)}%
</span>

Three failures the bad version causes:

  1. Width changes when value goes from 9.99% to 10.00% — the entire row reflows
  2. text-green-500 breaks light theme and ignores any design system
  3. No + prefix means positive and zero look identical at a glance

Core Pattern: Color Tokens

Define semantic colors via CSS variables, expose via Tailwind, never use raw color values in components.

css
/* globals.css */
:root {
  --positive: 34 197 94;   /* green for gains, buy, success */
  --negative: 239 68 68;   /* red for losses, sell, danger */
  --warning: 251 191 36;   /* amber for partial fills, stale data */
  --info: 0 143 250;       /* blue for working orders, neutral signals */
  --surface: 13 13 16;
  --surface-elevated: 22 22 26;
  --text-primary: 240 240 245;
  --text-secondary: 180 180 192;
  --text-muted: 110 110 125;
}

[data-theme="light"] {
  --positive: 22 163 74;
  --negative: 220 38 38;
  --surface: 248 249 251;
  /* ... */
}

Tailwind v3 form (tailwind.config.ts):

ts
colors: {
  positive: "rgb(var(--positive) / <alpha-value>)",
  negative: "rgb(var(--negative) / <alpha-value>)",
  surface: {
    DEFAULT: "rgb(var(--surface) / <alpha-value>)",
    elevated: "rgb(var(--surface-elevated) / <alpha-value>)",
  },
  text: {
    primary: "rgb(var(--text-primary) / <alpha-value>)",
    secondary: "rgb(var(--text-secondary) / <alpha-value>)",
    muted: "rgb(var(--text-muted) / <alpha-value>)",
  },
}

Tailwind v4 form (in your CSS, no config file needed):

css
@theme {
  --color-positive: rgb(var(--positive));
  --color-negative: rgb(var(--negative));
  --color-surface: rgb(var(--surface));
  --color-surface-elevated: rgb(var(--surface-elevated));
  --color-text-primary: rgb(var(--text-primary));
  --color-text-secondary: rgb(var(--text-secondary));
  --color-text-muted: rgb(var(--text-muted));
}

Core Pattern: Tick Flash

When a price updates, briefly tint the background. CSS only. Robinhood, Coinbase, and TradingView all use this.

tsx
// PriceCell.tsx
import { useEffect, useRef, useState } from "react";

export function PriceCell({ value, format }: { value: number; format: (n: number) => string }) {
  const prev = useRef(value);
  const [flash, setFlash] = useState<"up" | "down" | null>(null);

  useEffect(() => {
    if (value === prev.current) return;
    setFlash(value > prev.current ? "up" : "down");
    prev.current = value;
    const t = setTimeout(() => setFlash(null), 400);
    return () => clearTimeout(t);
  }, [value]);

  return (
    <span
      data-flash={flash ?? undefined}
      className="tabular-nums tracking-tight transition-colors duration-300 px-1 rounded-sm data-[flash=up]:bg-positive/15 data-[flash=down]:bg-negative/15"
    >
      {format(value)}
    </span>
  );
}

Why this beats animation libraries: zero JS during the flash, scales to hundreds of cells, no jank on heavy WebSocket traffic.

Core Pattern: Decimal Alignment

tabular-nums aligns digit positions but does not align decimal points across different-magnitude values. Two fixes:

Option A — pad with hair spaces (Bloomberg approach):

ts
function alignDecimal(value: number, totalDigits = 8): string {
  const s = value.toFixed(2);
  const [int] = s.split(".");
  const padNeeded = totalDigits - int.length;
  return " ".repeat(padNeeded) + s; // hair space, non-breaking
}

Option B — fixed-width columns with right-align (TradingView approach):

tsx
<div className="grid grid-cols-[1fr_120px_120px_120px] gap-2 tabular-nums">
  <div>{symbol}</div>
  <div className="text-right">{formatPrice(price)}</div>
  <div className="text-right">{formatQty(qty)}</div>
  <div className="text-right">{formatValue(value)}</div>
</div>

Use B by default. Use A only when values must fit in flowing text.

Common Mistakes

MistakeWhy it breaksFix
text-green-500 / text-red-500Doesn't respect theme, no light/dark, generic lookSemantic tokens: text-positive / text-negative
bg-${color}-500/10 dynamic classTailwind JIT strips it, renders without bgStatic class map: { up: "bg-positive/10", down: "bg-negative/10" }[dir]
font-medium numbers without tabular-numsDigits shift width on every updateAlways pair tabular-nums with any updating number
Hard-coded bg-zinc-950Breaks light themeUse bg-surface from CSS variable tokens
text-emerald-400 for pricesColor overload, makes deltas harder to spotColor only deltas/signals. Keep prices neutral.
toFixed(2) for all pricesWrong for BTC ($100K, 0 dp needed) and SHIB ($0.00001, 8 dp needed)Magnitude-aware: see references/number-formatting.md
Re-rendering whole row on tickDrops frames at 100+ symbols streamingIsolate updating cell, memoize the rest
No staleness indicatorUsers trade on dead dataShow grey/dim state when last update > N seconds
Color-only gain/loss8% of men can't distinguish red/greenAdd ▲ ▼ arrows or +/- prefix
Animation libraries for ticksBundle bloat, GPU thrash at scaleCSS transitions on data-* attributes
text-zinc-500 for axis labelsGeneric AI tellUse text-text-muted token
Centered numbers in tablesEye can't compare magnitudesRight-align numbers, left-align labels

Red Flags — Stop and Reread

When writing financial UI you may rationalize. These mean stop:

  • "It's just a prototype, I'll fix tokens later" — semantic tokens take the same time to write as raw colors. Write them now.
  • "The user won't notice digit shift" — they will, especially on a watchlist. It's the #1 tell of an unprofessional trading UI.
  • "Tailwind should expand bg-${color}-500/10 since the strings exist somewhere" — JIT does not scan dynamic templates. Use a static map.
  • "Light theme isn't needed" — Bloomberg, IBKR, and TradingView all ship both. Light theme is a serious-trader signal. Build with CSS variables from day one.
  • "Mono font for tickers looks dated" — it's the opposite. Bloomberg, Reuters, TradingView all use mono for tickers/symbols. It's a professionalism signal.
  • "I don't need a tick flash for a non-realtime page" — every list of prices that ever updates should flash. Even hourly updates benefit.

Industry Reference Points

PatternWho does it bestWhy study it
Order book depth bars (asks fill right→left, bids left→right)Kraken, Binance, Coinbase ProStandard convention; users expect it
Compact density toggleTradingView, BloombergPro users want maximum data per screen
Tick-flash on price cellsRobinhood, Coinbase, Massive dashboardsConfirms data is live without distraction
OHLC color coding (green hollow / red filled candles)TradingViewIndustry standard candle styling
Status pills for orders (filled/partial/working/cancelled/rejected)Interactive Brokers, Coinbase ProLets traders scan order state in milliseconds
Sparklines next to pricesRobinhood, Yahoo Finance, MassiveCompact trend signal without consuming chart space
"Last / Mark / Index" price split for derivativesBinance, Bybit, dYdXCritical for liquidation awareness
Significant-figure pricing for low-value tokensCoinbase, CoinGecko$0.00001234 is readable; $0.00 is broken
Color-blind safe pairs (blue/orange) as alternative to red/greenBloomberg accessibility modeRequired for accessibility-serious products

See references/industry-patterns.md for screenshots' worth of detail on each.

Verification

Before claiming a financial UI is done, check:

  • Every number has tabular-nums
  • Every color is a semantic token, no raw text-green-* / bg-zinc-*
  • Light theme renders correctly (toggle and verify)
  • Streaming prices flash on update
  • Stale data state is visible (e.g., dim or grey when > N seconds old)
  • Positive returns show + prefix
  • Numbers are right-aligned, labels are left-aligned
  • Tickers use mono font
  • No bg-${var} or other dynamic Tailwind classes
  • Color is paired with non-color signal (arrow, icon, sign, position)
  • Order/trade states use status pills, not just text color
  • At least 5 rows visible without scroll on a typical laptop screen (density check)

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Financial Ui Patterns;

Use when building any UI that displays prices, P&L, holdings, orders, trades, charts, order books, watchlists, or streaming market data. Covers patterns from Kraken, Coinbase, TradingView, Bloomberg, Robinhood. Read before writing JSX for any financial surface.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Financial Ui Patterns στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Financial Ui Patterns είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Financial Ui Patterns στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/rgourley/financial-ui-suite/tree/main/skills/financial-ui-patterns. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Financial Ui Patterns;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Financial Ui Patterns;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Financial Ui Patterns με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Financial Ui Patterns;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό rgourley με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇