支持 Angular 全栈开发的尖端工具。
Website • Documentation • Components • Blocks • GitHub
Cutting-edge tools that power Angular full-stack development - accessible, un-styled UI primitives with copy-paste, shadcn-style styles, plus an opinionated full-stack setup. Build like a spartan.
Welcome to the spartan mono-repo. This Nx repository is home to spartan/ui - accessible, un-styled UI primitives for Angular with copy-paste, shadcn-style helm styles - and the spartan/stack, an opinionated full-stack setup built on AnalogJs.
spartan/ui is 1.0 and stable: production-ready, semantically versioned, and
shipping more than 55 components. Install it from npm with
@spartan-ng/brain and the
@spartan-ng/cli, or explore everything at
spartan.ng.
| Package | Description | |
|---|---|---|
@spartan-ng/brain |
Headless, accessible UI primitives for Angular - the behavior half of spartan. | npm |
@spartan-ng/cli |
Nx plugin & Angular schematics that add spartan/ui to any workspace in one go. | npm |
@spartan-ng/mcp |
Model Context Protocol server giving AI assistants up-to-date spartan docs. | npm |
The styled helm components aren't published as a package on purpose - the CLI copies them straight into your project so you own and customize every line.
All of spartan is an MIT-licensed open source project with its ongoing development made possible by contributors and sponsors.
Our initial 300 contributors and sponsors are featured here and on the front page of spartan.ng
spartan is MIT-licensed and free, forever. But free to use isn't free to build - countless hours of late-night, hard-fought work hold this phalanx together, and they keep the components shipping and the docs current.
If spartan saves your company or team time, consider returning the favor. Sponsoring keeps spartan actively maintained, the roadmap moving, and the open-source work of the 300 sustainable. No spartan holds the line alone - every shield in the wall counts.
spartan.ng has formed a powerful alliance with Zerops, a developer-first cloud platform that shares our commitment to advancing the Angular ecosystem.
Through their strategic support, Zerops has enabled:
Zerops eliminates deployment complexity so developers can focus on building great software—a philosophy that perfectly aligns with our mission to create powerful yet easy-to-implement components.
Experience the cloud platform that's powering Spartan.ng's future →
spartan/ui brings the shadcn/ui philosophy to Angular: accessible, un-styled primitives - inspired by Radix and built on the Angular CDK and other proven community solutions - paired with beautiful, copy-paste shadcn-style styles that you own.
Each primitive is made up of two halves:
brain library in libs/brain that provides the behavior, accessibility, and state - published to npm as @spartan-ng/brain.helm l暂无开放 Issues,或尚未同步最近议题。