a harbor for the things I love to build

AIOcean

Apps and tools I can't stop making, all docked in one place.

See what I've built

the collection

Things I couldn't stop building

shadcn-rs

  • library
  • Rust
  • Desktop UI

The shadcn/ui component library for native desktop apps written in Rust.

Visit project

A dialog can look right in a screenshot and still feel different when you open it. shadcn-rs brings the components from shadcn-vue’s New York collection to the desktop, using the original browser demos as a reference for how each control looks and behaves.

The documentation is itself a desktop app. Run the example from the repository to browse the collection and try the controls in a native window.

When you change a component, you can replay an interaction and inspect the result. The same steps can run headless, so checking a dialog again takes a command instead of another round of clicking.

cargo run --release -p shadcn --example docs
  • Compare the pixelsEach component has a browser demo to compare against. The visual check scores the native rendering against that reference, so you can see whether an edit brings them closer.
  • Inspect a dialogOpen a dialog from the command line and inspect its accessibility tree in that state. The inspector can also attach to a running app.
  • Measure a changeRun the page benchmark before and after an edit to compare steady frame times and memory use for the affected components.

More from the harbor