antlitz
A minimal React and Tailwind design system. Native elements, semantic tokens, no behavioural dependencies.
Installation
pnpm dlx antlitz init
init installs the package, adds Tailwind CSS v4 if the project has no v4
yet, and writes the imports into your global stylesheet — creating it when it
is missing. It detects the package manager from the lockfile.
In a Next.js app it also writes the PostCSS config Tailwind needs. In a Vite
app it installs @tailwindcss/vite and prints the lines to add to your Vite
config, which it leaves for you to edit.
To do it by hand instead:
pnpm add antlitz
@import "tailwindcss";
@import "antlitz/theme.css";
Usage
Every component is a plain export from the package root.
import { Button } from "antlitz";
For long-form content rendered from data — markdown, MDX, a CMS field — import the Typeset stylesheet and wrap the output.
@import "antlitz/typeset.css";
Colours come from named tokens rather than a palette, so restyling the system is a matter of redefining them. See Theme.