HairlineIn progress
A system with a sense of restraint.
Hairline turns recurring decisions from financial interfaces into a system: aligned figures, meaningful colour, quiet structure and consistent behaviour across web and native surfaces.
- Who it is for
- Designers and developers building finance interfaces
- The work
- Tokens, components, documentation, registry and visual fidelity
- What I’m working through
- What makes a financial interface feel trustworthy at a glance?

A number should look stable before it changes.
Finance interfaces repeatedly ask the same visual questions. Do the figures line up? Does a colour mean a category or a warning? Can a row carry detail without becoming a stack of boxes? Hairline makes those decisions part of the system instead of asking every screen to solve them again.
The visual language grew from Moni interface work. My implementation work extracts that direction into reusable tokens, styles and components. Figures use tabular forms; fine horizontal rules establish structure; semantic colour travels as both ink and wash. The restraint is a set of repeatable rules, rather than an empty page.
One source, several platform contracts.
The token source is authored in TypeScript. Generated outputs include CSS custom properties, a Tailwind theme, dark-mode values and a JavaScript theme for React Native. This matters because a native interface cannot consume CSS variables or web font shorthand directly.
Conversions for letter spacing, line height and platform naming are part of generation. The React wrappers emit the same classes as the framework-free layer. The point is to preserve the decisions across surfaces, not to keep several hand-maintained colour and spacing tables approximately aligned.
Tokens
Author the shared values once.
Web
Generate CSS and Tailwind contracts.
Native
Translate values into native units and styles.
- Source belongs to the user
- Registry components are copied into the consuming project, with their implementation available to edit.
- Usage guidance travels with components
- Machine-readable notes explain where a component fits, where it does not, and which alternative to choose.
- Check the port visually
- Comparison tooling checks the original component layer against its Tailwind translation, making visual drift something inspectable.
What this project keeps teaching me
The interesting systems work is in translation: from a visual direction to a contract, from CSS to native values, and from a component name to guidance that a person or coding tool can apply correctly.
Where it stands
A working system in progress, with an installable registry and a growing finance catalogue. Repository captures reflect their point in development; the number of available components has changed as the catalogue grows.
Under the surface
- Design tokens
- CSS
- Tailwind
- React
- React Native
- Visual comparison tooling
