Animus is a CSS-in-TypeScript toolchain. Components are declared with a typed builder chain, and a Rust extractor compiles the chains to static CSS in cascade layers at build time.
| Package | What it is |
|---|---|
@animus-ui/core |
The framework-neutral builder: themes, systems, the style chain, class resolution |
@animus-ui/react |
The React binding: element and component terminals, slot composition |
@animus-ui/effect-ui |
The Effect UI binding |
@animus-ui/vite-plugin |
Extraction for Vite |
@animus-ui/next-plugin |
Extraction for Next.js |
@animus-ui/unplugin |
Extraction for rollup, esbuild, rspack and webpack |
@animus-ui/cli |
The animus command: extraction outside a bundler |
@animus-ui/extract |
The Rust extractor and the pipeline the drivers above share |
@animus-ui/layergate |
Loads third-party stylesheets into a cascade layer |
@animus-ui/properties |
CSS property data used by core, extract and the CLI |
@animus-ui/system was replaced in 0.2.0 by @animus-ui/core and @animus-ui/react.
Bun and Node versions are pinned in .tool-versions, and the Rust toolchain in packages/extract/crates/extractor/rust-toolchain.toml.
bun install
bunx vp run build:all # the extractor binary, then every package's dist
bunx vp run verifyvp run verify does not build anything, so run build:all first. AGENTS.md lists the other verification commands.
MIT