Principles
The system in eight rules for older, non-technical users.
Who MaHR is for
MaHR is HR and payroll for small Indonesian companies. Most people who use it are older and not technical: an HR admin who also does the books, a manager who approves leave on a phone, an employee who only wants to see a payslip. Every rule on this page exists so the next step is obvious and every target is easy to hit.
The system is built on shadcn with Base UI and Tailwind v4. Each component page shows live examples, every state, the code behind them, and the props. The source of truth for every value is the Paper file "MaHR - Design - 2".
The eight principles
Each card opens the page where the rule is applied in full.
Words and numbers
UI copy is short, everyday Indonesian in sentence case. Placeholders show a real value ("Staf gudang", "5.000.000"), never "Contoh: …": older users copy what they see. An error names the cause and the fix ("Nomor rekening BCA harus 10 angka"). One word per thing: password, not "kata sandi".
Show the least data that answers the question: one large figure beats six small ones, lists stop at 5–6 rows, then "Lihat semua". Money is exact (Rp 12.509.137), never rounded.
When a rule and taste disagree
The rule wins. Every rule has its reason next to it in the docs (forms, overlays, motion, layout), and most came from watching a real user hesitate. If a rule seems wrong for a screen, change the rule in the docs first, with the reason, then change every place it applies.