Fyro Design
← Design system

React kit

The original developer package for React 18 + Vite + TypeScript, Tailwind 3.4 and shadcn/ui (“default”, cssVariables). No new libraries.

FileWhat it isGoes to
tokens/index.cssEvery token, light (:root) and dark (.dark), with the Tailwind directivessrc/index.css
tokens/tailwind.config.patch.mdAdditions to theme.extend: text-positive, bg-pl-income, bg-cc-3…tailwind.config.ts
tokens/fonts-index-html.mdGeist + Geist Mono link, title and metaindex.html <head>
lib/format.ts · testThe only number/date → text conversion: amounts, %, deltas, rates, dates, EN/ITsrc/lib/
lib/fx.ts · testEUR/USD conversion at the month’s average rate (monthly_exchange_rates)src/lib/
components/Segmented.tsxMonth/Quarter/Year, EUR/USD, EN/IT, light/darksrc/components/layout/
components/KpiCard.tsxKPI card with deltas and optional sparklinesrc/components/charts/
components/Sparkline.tsxAxis-less trend linesrc/components/charts/
components/pnl-structure.tsP&L structure and the static colour classes per sectionsrc/components/pnl/structure.ts
README.it.mdOriginal package notes (Italian)
original/…dc.htmlThe original design-system page (needs support.js beside it)

Reference screens

01 Brand 02 Colour tokens 03 P&L colours 04 Type, space, radius 05 Number formatting 06 Components

Where the screens and tokens/index.css disagree (e.g. the screen shows --background as pure white), tokens/index.css wins; it is what ships.