[Media] I made open-source Shadcn-style components for Rust apps using Slint

246 points Foreign-General3542 24 comments
[Media] I made open-source Shadcn-style components for Rust apps using Slint

i built this while using Slint from Rust and wanting something closer to the shadcn/ui workflow

the basic idea is to copy .slint source files into your app instead of depending on a component package or a fixed theme api. once the files are in your repo, you can edit them like the rest of your ui

it has 36 primitives, 5 blocks, theme tokens, generated docs with wasm previews, and a small npm cli:

npx slintcn@latest init

npx slintcn@latest add button card input dialog

it's open source, and i'm mainly looking for feedback from people building Rust/Slint apps: whether the APIs feel natural, and which primitives would be useful next

the url is here:

https://stevekwon211.github.io/slintcn/

https://www.npmjs.com/package/slintcn