Documents
Guides
How to do the specific things — formatting money, aligning a column, building a ledger table.
- Getting startedGo from an empty shadcn project to a correctly formatted figure on screen. Install the theme first. Every component compiles against its tokens and type scale, and without them a component renders at the wrong sizes with no error.
- How to format money in ReactCurrency formatting looks solved until you hit your first JPY amount, your first negative, and your first value you don't have. Here's the whole method, in the order the bugs show up.
- Negative numbers in a financial tableUse parentheses instead of a minus sign, the real minus where a sign belongs, and a column that stays aligned when the sign changes. Almost nobody implements the third rule.
- How to align numbers in a tableRight-aligned is not aligned. Tabular figures, case-shifted parentheses, decimal alignment, a reserved sign column and rules that carry the arithmetic.
- How to build a general ledger table in ReactThe data grid is the easy part. A ledger table needs two amount columns, a visible balance check, and entries you can reverse but never edit.
- Choosing a React component library for finance softwareThere are good dashboard kits, data grids and fintech templates. Very few of them know what a currency is. Here's an honest comparison, including when you shouldn't use this one.
What each document covers
From here
The same material, reached the other way round — by the word, by the component, or by the thing running.