Components
Every Coinmere building block in one place, in both themes. Copy from the source path under each section.
Badges & status
Badges label state; add dot so state never relies on color alone. Status pairs a dot with text.
components/ui/badge.tsx · components/ui/misc.tsxInputs
Input, Select and Textarea share one sunken style. Wrap them in Field for a label and hint.
components/ui/field.tsxAvailable: $8,240.56
Switch
Accessible role=switch toggle. Give it an id and label; onChange reports the new value.
components/ui/switch.tsxTabs
Underline tabs with arrow-key navigation and optional counts.
components/ui/tabs.tsxAll transactions this month.
Salary, refunds and payments from friends.
Card payments, bills and transfers out.
Progress
Thin progress bar for budgets and goals. Tone switches to warning or danger near and over the limit.
components/ui/misc.tsxGroceries$612 of $800
Dining$418 of $450
Shopping$386 of $300
Avatars
Initials avatar in three sizes. The tone is derived from the name, so it stays stable.
components/ui/avatar.tsx- Jonah Reyes@jonahr
- Priya Anand@priya.a
- Marcus Lind@mlind
CategoryIcon & Amount
Category tiles for every spending category, and signed amounts: income in success, spending in ink.
components/ui/finance.tsx- Groceries
- Dining
- Transport
- Shopping
- Bills
- Health
- Travel
- Entertainment
- Income
- Transfer
- Salary · Northbeam StudioIncome+$5,200.00
- Fernwood MarketGroceries−$84.12
- Paid by Jonah ReyesTransfer+$45.00
CardFace
Payment card art in four tones, physical or virtual, with a frozen overlay. Networks are fictional.
components/ui/finance.tsxModal
Native dialog with title, description, body and footer actions.
components/ui/modal.tsxEmptyState
Icon, title, one helpful sentence and an optional action.
components/ui/misc.tsxNo transactions yet
Add money or make your first card payment and it will show up here.
Charts
LineChart, BarChart, Donut, Sparkline and StatTile. Series use chart-1→4 in order; income is chart-2, spending chart-1.
components/ui/charts.tsxSpent this month
$2,142
▼ 40%Income this month
$5,245
▼ 3%Savings rate
59%
▲ 25 ptsLineChart · Income vs spending, 12 months
- Spending
- Income
BarChart · Daily spending, October
Donut · Top categories
- Groceries39%
- Dining26%
- Shopping24%
- Transport10%
Sparkline · Decorative trend