What's the approach for sharable and reusable component library in Slint? #8482
Replies: 1 comment 1 reply
-
There are a couple that I'm aware of, but not many. If i recall they added support a while backing for importing a collection of widgets from another folder, I don't recall the details at the moment. Only one of the apps I've created with Slint required some more complex custom widgets, but they were fairly specific to the app. While they are somewhat reusable they are all within in that one app and I never extracted them into anything else. https://codeberg.org/flovansl/co_sl/src/branch/main/widgets/coop/ https://github.com/Surrealism-All/SurrealismUI Edit here is a link about the Component Library support: https://docs.slint.dev/latest/docs/slint/guide/language/coding/file/#component-libraries |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So far I haven't found any community made component library for Slint. And that makes me wonder, how do I even compile and share my own Slint component for reuse across different projects?
I could always copy paste, but complex component sometimes have associated Rust code, which can be many files to handle, and obviously you can't push updates this way.
So, how have developers been approaching component reuse?
Beta Was this translation helpful? Give feedback.
All reactions