Open GitHub repository

Docs

Introduction

swift-rust ui is an open-code component registry — a better shadcn with a third style axis. You don't install a black-box package; the CLI copies the source into your project, so you own and edit every line.

It's built for the swift-rust framework and Tailwind v4. Components are server-renderable by default and ship zero JavaScript until you make them interactive.

Three axes

Every featured component composes three independent dimensions:

variant

What it means — default, outline, secondary, ghost, destructive, link.

size

How dense it is — xs through lg, plus five icon sizes.

design

How it looks — flat, 3d, glass, neo, brutal, gradient. The axis shadcn doesn't have.

Open code

There's no opaque dependency to upgrade and fight. The component source lands in your repo under components/ui; change a class, a token, or the whole API — it's yours.