spartan
Accessible, unstyled Angular primitives with copy-paste shadcn-style components and a full-stack setup.
- Category
- Framework Ports
- Added
- GitHub stars
- 3k
- License
- MIT
- Price
- Free
About
About spartan
spartan is an MIT-licensed Angular project with two parts. spartan/ui pairs headless, accessible primitives (the brain package) with styled helm components in the shadcn style, covering more than 55 components at version 1.0. spartan/stack is an opinionated full-stack setup built on AnalogJs. The primitives use signals, support SSR and are ready for zoneless apps.
You install the behavior from npm with @spartan-ng/brain and use @spartan-ng/cli, an Nx plugin and set of Angular schematics, to copy the styled helm components into your project so you own the code. An MCP server package gives AI assistants current spartan docs. It fits Angular teams that want the shadcn/ui workflow.
spartan features
6 features
- Headless accessible primitives for Angular
- Styled helm components copied into your project
- Nx plugin and Angular schematics CLI
- Signals, SSR and zoneless support
- More than 55 components at 1.0
- MCP server for AI assistants
What you can build with spartan
3 use cases
- Bringing the shadcn/ui copy-and-own workflow to an Angular app
- Building an AnalogJs full-stack app with a ready UI layer
- Giving an AI assistant accurate Angular component docs
Links
1 link
Framework Ports
Similar to spartan
More framework ports like spartan: the closest by what they do, then the most starred.
shadcn-vuePortshadcn-vue is the Vue port of shadcn/ui, with accessible components built for you to copy, extend and own. MIT licensed and sponsor-funded.
shadcn-sveltePortshadcn-svelte is the community Svelte port of shadcn/ui, with composable, accessible components built on Bits UI and Tailwind CSS under MIT.
SolidUIPortSolidUI is an unofficial port of shadcn/ui and tremor-raw to Solid, built with Kobalte and corvu and styled with Tailwind CSS under MIT.
nativecn-uiPortnativecn-ui is an MIT-licensed set of React Native components inspired by shadcn-ui, with NativeWind styling, CSS variables and dark mode built in.
shadcn-solidPortshadcn-solid is an unofficial, community-led SolidJS port of shadcn/ui. It is free, MIT licensed and meant as a base for your own library.
shadcn-kotlinPortshadcn-kotlin is an unofficial port of shadcn/ui to Kotlin/JS, made with Kobweb. The code is MIT licensed and free to use.
Pricing
Ship it with Pro
The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What spartan is, how to install it, its license and its alternatives.
No. The helm components are not published on purpose. The CLI copies them into your project so you can edit every line.
Accessible, unstyled Angular primitives with copy-paste shadcn-style components and a full-stack setup.
spartan lists Headless accessible primitives for Angular, Styled helm components copied into your project, Nx plugin and Angular schematics CLI, Signals, SSR and zoneless support, More than 55 components at 1.0 and MCP server for AI assistants.
The directory lists these uses for spartan: Bringing the shadcn/ui copy-and-own workflow to an Angular app, Building an AnalogJs full-stack app with a ready UI layer and Giving an AI assistant accurate Angular component docs.
spartan is made by spartan-ng, at https://github.com/spartan-ng. Its site is https://github.com/spartan-ng/spartan.
spartan was added to the directory on March 21, 2024.
spartan is in Framework Ports. shadcn/ui rebuilt for other frameworks and platforms: Vue, Svelte, Solid, Angular, Flutter, React Native and more.
Components, Angular, Accessible, Customizable, CLI, MCP, TypeScript, Open source and MIT. Each tag has a page listing the other resources that carry it.
Yes. spartan's page has a Live tab beside the screenshot that loads its site in a frame.
Install the primitives from npm with @spartan-ng/brain, and use @spartan-ng/cli to add the styled components to your workspace.
The directory lists no install command for spartan. Follow its docs at https://www.spartan.ng/documentation/introduction.
The directory lists no shadcn CLI command for spartan. Check its docs at https://www.spartan.ng/documentation/introduction for how to add it.
spartan's repository is https://github.com/spartan-ng/spartan.
spartan's docs are at https://www.spartan.ng/documentation/introduction.
GitHub lists spartan under the MIT license. Read the license file in its repository for the terms.
The directory records no price for spartan. Its site, https://github.com/spartan-ng/spartan, is where its pricing, if any, is stated.
No. spartan is made by spartan-ng and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Framework Ports, newest first: shadcn-vue, shadcn-svelte, SolidUI and nativecn-ui. Their pages are linked under Similar to spartan.
Open its category, Framework Ports, or one of its tags (Components, Angular and Accessible): each page lists the resources that share it.
4.9 out of 5 from 150+ developers
Found your stack? Ship it.
6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.
Get Pro






