Components
60 of them, from buttons to handscrolls. Each one is shown in Chinese and in English.
Browse componentsA design system in Chinese and English, with day and night themes. It sets out rules for everything from app screens to posters.
Where a traditional element goes, and how much of it, comes down to these three. When you’re not sure, leave one thing out.
Red appears once per screen: a seal, a badge, a delete button, or a stamp. Pick one of the four.
Patterns, vignettes, and mountings are scenes. A screen gets one at most. Task screens get none.
Progress is a waxing moon. A check is one upward hook stroke. A control’s own shape can carry meaning, but each kind of control gets only one.
The night theme isn’t the day theme inverted. Azurite gets lighter, cinnabar gets darker, and every color is mixed again.
An English interface isn’t a Chinese one with the characters swapped for letters. Titles, line height, and the signature each have their own setting. The seal stays in Chinese.
60 of them, from buttons to handscrolls. Each one is shown in Chinese and in English.
Browse components39 icons, drawn with a 1.5px round-capped line. Every closed outline leaves a small opening, called the breathing gap.
See all iconsAzurite does the work. Cinnabar marks the point. Every color has a day value and a night value.
See the color tokensTitles are set in serif, text in sans-serif. English has its own set of title styles.
See the type stylesOne stylesheet and one script. No build tools, no framework. Swap in your own seal character, product name, and signature.
<link rel="stylesheet" href="hairline.css">
<!-- Your content -->
<script src="hairline.js"></script>hairline.cssTokens and the styles for every component109 KBhairline.jsBehavior for dialogs, menus, the calendar, and more34 KB