About

What the library is made of, and the terms it ships under.

@hanzo/ui is the Hanzo component library. It is one package on one substrate, and the substrate is why one import runs on the web, on a phone and in a desktop window.

Made of

PackageWhat it contributes
@hanzo/guiThe style engine: styles as props, compiled to atomic CSS on the web and to native styles on a phone, with the behaviour — focus, portalling, keyboard — of each primitive.
@hanzo/designThe tokens: the monochrome palette, the type ramp, spacing, radius, elevation, motion, and the three knobs every ramp multiplies by.
@hanzo/fontZen and Zen Mono, self-hosted, under the SIL Open Font License.
@hanzo/appearanceA person’s own reading of the system — type size, density, accent — stored and applied.

The components are an original implementation on those four. There is no Radix, no Tailwind, no class-variance-authority and no registry underneath; the identity is plain CSS custom properties, and the stylesheet is produced by rendering every component when the package is published.

Where

Licence

Apache-2.0 or MIT, at your option.