Skip to content

ouroboros-ui

A native Rust design system for egui built on shadcn/ui tokens, with tests that fail on raw values.

github.com/Type-zero-labs/ouroboros-ui

ouroboros-ui website screenshot
Added
GitHub stars
8 · archived
License
MIT
Price
Free

About

About ouroboros-ui

ouroboros-ui reimplements the shadcn/ui design language natively for egui, the Rust immediate-mode GUI. It is not a web port: it keeps the vocabulary of semantic tokens, a neutral zinc look and a 4px scale, and renders it in Rust. It has more than 60 components across atomic-design layers, plus a node-editor graph layer, and was extracted from the Ouroboros authoring IDE.

Its distinguishing feature is enforcement. Governance tests run with cargo test and in CI, failing the build when a literal color, font size or spacing value appears above the token layer. The repo also covers theme, Iosevka and Figma auto-layout. The repository is archived, has 8 stars and an MIT license, so treat it as a reference rather than a living dependency.

ouroboros-ui features

6 features

  • Native egui components in Rust
  • Semantic tokens on a 4px scale
  • 60-plus components in atomic layers
  • Tests that fail on raw color values
  • Node-editor graph layer
  • Figma auto-layout support

What you can build with ouroboros-ui

3 use cases

  • Building a native Rust tool with a shadcn-style look
  • Studying token-first design system enforcement
  • Referencing egui component patterns

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 ouroboros-ui is, how to install it, its license and its alternatives.

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